remove a repository local code example Example: how to delete git repo locally $ rm -rf .git to delete git repository from local repo (from machine)