Remove all git files from a local repository
Git stores the whole repository in the .git folder. So to remove a repository cd into the relevant folder and run:
$ rm -rf .git
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki git