delete all files and folders in a directory 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