It is simple.
First you have to check if you have .git already:
.git
ls -a
(.git)will show as a repo
then
rm -rf .git ls .git
(will not show anymore)
git clone
or
git init
to reinitialize
(.git will show again)