Remove all untracked git files $ git clean -fd View all tags $ git tag Undo last commit $ git reset HEAD~