git remove remote folder code example
Example 1: remove git remote
git remote remove origin
Example 2: gitignroe remove folder
git rm -r --cached some-directory
git commit -m 'Remove the now ignored directory "some-directory"'
git push origin master
Example 3: remove folders from remote git
git rm -r one-of-the-directories // This deletes from filesystem
git commit . -m "Remove duplicated directory"
git push origin <your-git-branch> (typically 'master', but not always)