paint won't cover hairline crack (< 1/8 inch wide) You need epoxy patch first, sand it smooth. then paint.
Or you can skip the patch/paint and pour epoxy all over the garage floor. That will hide the cracks.