git bash disconnect from remote code example Example: how to disconnect local repo from remote master rm -rf .git