how to remove 1 file from git tracking code example Example: remove file from git tracking git rm --cached <file_name>