remove git init

C++
rm -rf .git cd myFolder
 rm -rf .git

Source

Also in C++: