delete git directory in terminal code example Example: how to remove git directory in terminal rm -rf .git