Hapus baris perintah repositori git
rm -rf .git
Courageous Curlew
rm -rf .git
On Windows:
Go to the directory where you want to delete your .git folder then type in cmd
rmdir /S .git.