Use this if you want to get rid of directories too!
git clean -f -x -d
Trash directories
git config --global alias.trash '!mkdir -p .trash && git ls-files --others --exclude-standard --directory | xargs --no-run-if-empty mv -v -f -t .trash'
Use this if you want to get rid of directories too!
Trash directories