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