Another gem in terms of Git. This is the source you might look at, once you have completely messed wit your Git repository. It solves the chicken and egg problem all of us know about Git:
Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can’t search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.
Link: https://ohshitgit.com/