remove git repository from local git bash code example Example: delete git repository command line rm -rf .git