git_cheatsheet revert branch to a tag git checkout master git reset --hard tag_ABC git push --force origin master