Everyone should PGP sign their git commits with a secret key stored on a YubiKey. Make small changes to your code, read the diff, then commit and sign before pushing to the repo. IMPO, that's really the only way to protect the integrity of source code.
If you are adding large changes without carefully reading the diffs and you do not sign the commits it's just a matter of time.