Most organisations with a collaborative wiki have some sort of “tips and tricks” page, where users can freely add or update advice for everyone to use. It appears the CIA is no different, with the recent “Vault 7” dump from WikiLeaks revealing the US intelligence service’s closely guarded collection of Git cheats. What’s surprising is a few are actually useful.
As many coders on Reddit discovered, the CIA’s Git tips page contains a number of tricks you might not be aware of including “I can never remember that alias I set”, “Oh crap I didn’t mean to commit yet” and my personal favourite, “Workaround Self-signed Certificates”, because why would the CIA care about SSL?
Seriously though, even if you don’t care much about WikiLeaks or the CIA, the page is worth pursuing — it’s not particularly long.
Who knows, you could learn something new or, at the very least, things you shouldn’t be doing with the popular source control software.