remove git repository via terminal code example Example: delete git repository command line rm -rf .git