Is there a git command to revert all uncommitted changes in a working tree and index and to also remove newly created files and folders?
One non-trivial way is to run these two commands:
git stash
git stash drop