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