cara menghapus git dari proyek
rm -rf .git*
Lovely Louse
rm -rf .git*
rm -rf .git
$ rm -rf .git
On Windows:
Go to the directory where you want to delete your .git folder then type in cmd
rmdir /S .git.