git checkout -- path/to/file/to/revert
git stash save --keep-index --include-untracked
git clean -df git checkout -- .
git checkout -- .