True, git itself can't prevent people from creating a mess of a commit graph.
TBH, lots of build systems mentioned here I've never encountered so far.
But this makes it clearer that one can't reason about how viable a "one big monorepo only" approach mighy be by just considering the capabilities of current git, coming from a "manyrepo" mindset. Likely that was the pitfall I fell into coming into this discussion.