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