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