I am trying to run the command git rm -f .git. It is saying
'.git' did not match any files.
I can't recall if it is the exact command, but clearly something is off and I have been unable to find online what I'm looking for. The issue I am trying to resolve is delete the .git file. Can anyone advise?
.gitfolder? That deletes the repository with all the history. If you have no backup repo, it will be lost forever.