Удалить git из папки
rm -rf .git*
Lovely Louse
rm -rf .git*
rm -rf .git
/* Remove Git tracking from an entire folder/directory */
cd projectName // Navigate to the project directory
rm -rf .git // Remove git tracking
cmd rmdir /S .git
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
git rm -r --cached myFolder