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 use HTTPS instead of SSH when using the git submodules command.

To clone a submodule you use the git submodule update command. The current active submodules are configured in the file .git/config. The file .submodules only provides a set of default submodules. But in order to actually use them they have to be added to the .git/config file.

So if you want to change the protocol from SSH to HTTPS you have to adapt the URL in the file .git/config accordingly:

[submodule "builddeps"]
	active = true

	#url =
	url =

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, ...).