how to stop a folder from breing a git repo code example Example: remove a folder from git tracking git rm -r --cached path_to_your_folder/