how to remove files after adding gitiignore code example Example: github untrack files git rm -r --cached .