How do you delete untracked local files from your current working tree?
To remove all untracked files, The simple way is to add all of them first and reset the repo as below
git add --all git reset --hard HEAD