delete all files in github branch 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