git-trustcheck is a tool for checking commit history for untrusted commits and managing per-repository gpg configurations.