I accidentally made my Desktop a git repository. How to remove the git-related files from Desktop?
^C[~ (master #)]$ ls -al | grep .git
You should see the following files: .git .gitconfig
qc^C[~ (master #)]$ rm -rf .git
(recursively remove the .git file)
.git