About Refactoring and Git History

Git tip: before any bigger code refactoring, tag your latest commit, so that you could look back in the history if anything goes wrong.

Tips and Tricks Development Git