GitHub now provides a feature to discover when you've accidentally leaked company private keys: https://developer.github.com/partnerships/token-scanning/ Makes sense, but it's a shame it's needed. It's easy to screw up.