remove directory from repository git code example
Example: git remove folder remotely
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master