Git is a fantastic tool, but, sometimes stuff goes wrong.

In those situations, it can be hard to find the command you need to get yourself out the hole.

This is where ohshitgit.com comes in handy (or dangitgit.com for a less sweary version). You’ll find some great user submitted examples of handy fixes for common issues.