how to remove gitmodules from repository code example Example: how to remove git repository from a project rm -rf .git