delete a folder from repo in github 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