uninstall git code example
Example 1: remove git
rm -rf .git
Example 2: how to uninstall git in ubuntu 18.04
$ sudo apt-get remove --auto-remove git
Example 3: remove git
rm -rf .git
-r => Remove directories and there contents recursively.
-f => Ignore nonexistent files and arguments, never prompt
for more info run
rm --help
Example 4: 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