rm -rf .git -r => Remove directories and there contents recursively. -f => Ignore nonexistent files and arguments, never prompt for more info run rm --help