how to delete git from project folder code example Example 1: remove git from project Click to copyrm -rf .git* Example 2: delete .git folder Click to copyrm -rf .git Example 3: remove git Click to copyrm -rf .git