Git Undo: 13 Ways to Undo Mistakes in Git
In the words of American motivational writer William Arthur Ward “to make mistakes is human; to stumble is commonplace; to be able to laugh at yourself is maturity”. Not all mistakes in life are easy to recover from, but the main goal of technology development is to make the world less tangled. Troubles could appear due to human error or hardware malfunction, so you should be prepared to deal with them in the most efficient way.