How to reset "local" git repository?

Solution 1:

You could just delete your .git folder and start again.

rm -rf .git
git init

This will leave the current .gitignore in place, which would still be followed by the new git repo. The .gitignore could be removed, or delete the contents so it is a blank file.

Solution 2:

If you want to create the repository again, then just remove the .git directory.

Solution 3:

If you do not need a clean history just remove the files from the repository and commit your changes. If you would like to revert to an earlier commit there is a git reset command

git reset --hard HEAD^

Here is some more info How to undo last commit(s) in Git?