rm -rf .git should do the task. however check that that your operating copy is within the exact state that you wish it, as a result of everything else are lost. .git folder is hidden thus make sure you switch on the Show hidden files, folders and disks choice.
From there, you'll be able to run git init to create a new repository.
For more information about installation of git and common git commands please go through the following link: