I accidentally made my Desktop a git repository. How to remove the git-related files from Desktop?
remove the hidden folder named .git from your Desktop