Why does it matter. It's pretty normal to do a bunch of dev locally and then at some point create a public gh repo and then push
How do you git bisect when a bug was introduced in the mega-commit paradigm? This generally beneficial most for the primary developer.
Separately, the presence of mega commits is a red flag in the age of ai and slop. It's a warning sign for too much eyes-free coding. The agents are not good enough for this. If you are not staying in the loop and managing changes, then I have serious concerns about the security and reliability of the software.