How do you delete untracked local files from your current working tree?
git clean -fd removes directory
git clean -fd
git clean -fX removes ignored files
git clean -fX
git clean -fx removes ignored and un-ignored files
git clean -fx
can be used all above options in combination as
git clean -fdXx
check git manual for more help