how to remove current repo from git local code example Example: git remove repository local $ rm -rf .git