git remove the git connection for a folder code example
Example 1: remove git from project
rm -rf .git*
Example 2: remove git from angular oproject
//Windows:
del /F /S /Q /A .git
rmdir .git
rm -rf .git*
//Windows:
del /F /S /Q /A .git
rmdir .git