git delete directory in remote code example
Example 1: git delete remote name
git remote rm remote_name
Example 2: remove folders from remote git
git rm -r --cached myFolder
git remote rm remote_name
git rm -r --cached myFolder