gremove folder from git
snippet in sql

git remove folder remotely

user490

git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master

gremove folder from git

user2664

git rm -r --cached FolderName
git commit -m "Removed folder from repository"
git push origin master