Why can't fixing problems with Git commits be fun? OK, fixing commits for any source control system can get hairy from time to time, but Git certainly makes the process more mystical than one would like. So how about a choose your own adventure to walk you through common Git snafus?
Seth Robertson has done just that and while yes, it's not the most exciting or harrowing CYOA, that's probably a good thing.
Navigating your way through the "adventure" is simple — just keep clicking options until you end up at the solution you need. Your current path is updated as you progress, so you can go back to any previous step if you need to.
Is it the ideal way to troubleshoot Git? Maybe not, but it's a lot better than staring gormlessly at your screen trying to figure out exactly what to search for when your Google-fu fails you.
On undoing, fixing, or removing commits in git [Seth Robertson]