How do you delete untracked local files from your current working tree?
A lifehack for such situation I just invented and tried (that works perfectly):
git add . git reset --hard HEAD
Beware! Be sure to commit any needed changes (even in non-untracked files) before performing this.