Commit Undoing Changes git checkout -- .: Back to last commit git clean -f: Remove any untracked files/folders