git check untracked files code example
Example 1: git see all tracked files
git ls-tree -r master --name-only
Example 2: checkout untracked files
git clean -f
Example 3: git abandon untracked files
git clean -i
Example 4: how to avoid some files changes to not come in git status
git update-index --assume-unchanged <file>
Example 5: how to avoid some files changes to not come in git status
git rm --cached <file>