removing directory created with git init code example Example: delete git repository command line rm -rf .git