how to remove untracked files in git

Shell
git clean -fgit clean -ngit clean -fdxgit clean -fd
Source

Also in Shell: