On Windows: Go to the directory where you want to delete your .git folder then type in cmd rmdir /S .git.
$ sudo apt install ppa-purge $ sudo ppa-purge ppa:#repo-name