how to disconnect local directory from cloned github repository code example Example: how to disconnect local repo from remote master rm -rf .git