remove .git by git bash code example
Example 1: ubuntu remove git from folder
rm -rf .git
Example 2: delete git
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/Leonuch/flex.git
git push -u origin master