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