how to remove all untracked files from git code example Example: git remove untracked files git clean -fdx