windows remove all from folder code example
Example 1: git remove folder remotely
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
Example 2: remove directory not empty windows
rd /s /q "path"
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
rd /s /q "path"