How do I delete a local repository in git? code example Example: git remove repository local $ rm -rf .git