Assuming you are at the root of your working copy.
If you want to do a clean one to remove any unprocessed files, first do a dry run to make sure it is not going to knock anything. (You might want to examine the directory (-d) and also use ignore options (-x).)
git clean -n
Then run it "for real."
git clean -f
Then check for fresh unmodified files from the index for all of your monitored files.
git checkout .
Charles Bailey
source share