Is there a way to entirely remove a directory and its history from GitHub?
This is the easiest way the deletes a directory from your GitHub repo but not local system:
git rm -r --cached FolderName git commit -m "Removed folder from repository" git push origin master