how to track untracked files git code example Example 1: checkout untracked files git clean -f Example 2: git abandon untracked files git clean -i