Wow! I wouldn't have guessed that Git had that vulnerability. Fossil solves it easily: creating a new repo involves generating a random project code (a nonce) which goes into the hash of the first commit, so that even two identical commit sequences won't produce identical blockchains.
Fossil lets you force the project ID on creating the repo, but the capability only exists for special purposes.
Fossil lets you force the project ID on creating the repo, but the capability only exists for special purposes.