1. Understand cut and fill
Cut and fill involves cutting soil away from the high side of the block and either using it as fill on the low side, or removing it entirely and importing fill from elsewhere.
The result is a level or nearly-level building platform on which a standard concrete slab can be poured. From the slab up, the build proceeds as it would on a flat block.
The cost drivers of cut and fill: volume of soil moved, whether soil can be reused on site or must be trucked away, retaining wall requirements on the cut side, retaining or engineered fill on the low side, and compliance with council rules on maximum cut and fill (which limit how much reshaping is permitted).
On moderate slopes (up to about 1 metre across the building footprint), cut and fill is usually the most economical foundation approach.