Why This One Is Different
The log race disappeared because a log entry is a small self-contained fact: a session can hand it to a central process and be done. A commit is not that. It is the state of a working tree that exists only on the machine where the work happened, and centralizing it would mean shipping the entire change to the writer — which relocates the problem rather than solving it.
So this conflict class gets serialized rather than removed, and the difference matters because serialization has costs that removal does not: somebody waits, a lock can be held by a session that died, and the whole thing needs a story for what happens when the holder never comes back.
What Actually Goes Wrong on a Parallel Day
The abstract version is "two commits conflict." The real version, measured on one busy day, is messier and worth knowing in advance.
The shared index. A repository has one staging area. A neighboring session's staged work is in it, and scoping your commit to your own paths does not remove what they staged — it only chooses what you add.
The slow hook. A pre-commit hook doing real work — regenerating assets, syncing to a service — turns each commit into a multi-minute operation. During that window every other session contends, and the lock file becomes the thing everybody is waiting on.
The three-way divergence. One machine is ahead, another is behind, a third has a dirty tree, and each of them is correct from where it is standing. There is no ordering that makes everyone's assumption true.
The neighbor's in-flight edit. Two sessions editing the same shared configuration file, one of them half done. Committing the file at that moment ships an incoherent state under your name.
The Shape of the Answer
Four moves, one per problem, and the next four lessons take them in turn: a lease that makes the landing indivisible, a scratch index so the shared one cannot leak into your commit, a deliberately chosen base so divergence is decided rather than discovered, and a rule about never hand-staging shared files that exists because the clever alternative was tried and was much worse.