By breaking SHA1, obviously.
Of course on big projects a lot of the code isn't touched in years but we're talking about revealing that somebody broke SHA1. It sounds very risky given the stakes.
The reasoning is always that you are actually signing the whole commit chain because your commit is liked to every previous one by the commit hashes.