remove from git repository code example
Example 1: delete git
rm -rf .git
Example 2: delete html file from git
git rm file1.txt
Example 3: 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