how to remove a folder from git repo code example Example: how to remove git from a folder rm -rf .git