How to remove git directory permanently.

Remove from git and local

Remove from git not in local

git rm -r --cached myFolder