how to get rid of github files that should be gitignored code example Example: git ignore still tracking git rm --cached <file> git rm -r --cached <folder>