Удалить папку с отслеживания GIT
git rm -r --cached path_to_your_folder/
Clear Cobra
git rm -r --cached path_to_your_folder/
Remove the folder from your local git tracking, but keep it on your disk.
git rm -r --cached path_to_your_folder/