how ot deinitialize git from a folder code example Example 1: uninitialize git rm -rf .git Example 2: how to uninitialize git rmdir /s .git