How to remove a directory from git repository ?
Git and local you can eliminate the directory
Checkout the master directories:
git rm -r one-of-the-directories git commit -m "Remove duplicated directory" git push origin <your-git-branch> (typically 'master', but not always)
Eliminate directory from git but NOT local
You can remove this directory from git but not delete it entirely from the local filesystem .
git rm -r --cached myFolder