delete all the removed files in 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