remove git from angular oproject

C++
rm -rf .git*
//Windows:
del /F /S /Q /A .git

rmdir .git
Source

Also in C++: