git remove folder remotely

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

Also in Shell: