How to recover from a Git force push
gist.github.com