Remove all untracked files with

git clean -df

Restore files to their last committed state

git checkout -- .