how to remove a git repository on local code example Example: git remove repository local $ rm -rf .git