rm - rf .git code example
Example 1: remove git from project
rm -rf .git*
Example 2: 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