clear a git repository completely code example Example: delete git repository command line rm -rf .git