how to delete git from a folder code example
Example 1: delete .git folder
rm -rf .git
Example 2: remove git from folder windows
cmd rmdir /S .git
Example 3: git remove folder remotely
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
Example 4: how to remove git from a folder
rm -rf .git