Patch the garage floor or pour a new one
A few hairline cracks in a floor that's still flat and still drains are usually worth leaving alone or sealing, because some cracking is normal for concrete. It's different when a section has sunk, rocks underfoot or now tips water back toward the house. That means the dirt under it has moved, and a patch on top won't hold the floor up. That's when I'd tell you to replace it, base and all.
What sets the price of a garage floor
Beyond the size, the price moves with how thick the slab is, whether it's reinforced, how close the truck can get and what finish goes on top. That can be a plain broom finish, a light brushed texture that gives tires grip, or something decorative. When the budget gets tight, people want to trim the base work first, because nobody sees it once the floor is poured. I'd cut the finish before the base, since the base decides whether the floor stays flat.