You can delete the .git folder using this command
cd the/repo/path rm -rf .git
The repo will be removed permanently