I created a git repository with git init. I\'d like to delete it entirely and init a new one.
git init
If you want to delete all .git folders in a project use the following command:
find . -type f | grep -i "\.git" | xargs rm
This will also delete all the .git folders and .gitignore files from all subfolders