Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. In this article you will learn how to debug the git submodules command.

To clone a submodule you use the git submodule update command. As a submodule might be big (e.g. multiple gigabytes) this might take some time. By default the git submodule update command does not show any progress indicator like the git clone command does. You have to provide a dedicated option:

$ git submodule update --progress

If you are still facing problems you can debug the process of updating submodules by using the following command:

$ GIT_TRACE=1 GIT_CURL_VERBOSE=1 git submodule update

A note about Netcup (advertisement)

Netcup is a German hosting company. Netcup offers inexpensive, yet powerfull web hosting packages, KVM-based root servers or dedicated servers for example. Using a coupon code from my Netcup coupon code web app you can even save more money (6$ on your first purchase, 30% off any KVM-based root server, ...).