git clean -n
Print what will be deleted but does not delete anything
 
git clean 
Deletes all files including untracked file but not directories
 
git clean -d -f
Deletes all files including untracked files also any empty directories but does not delete ignored files. Safer alternative is to use git stash -u
 
git clean -d -f -x
Deletes all file including untracked files, also any empty directories also ignored files. Safer alternative is to use git stash --all
 
git clean -i
Clean worksspace interactively