Note: while the use-case described is about using submodules within a project, the same applies to a normal git clone of a repository over HTTP.
git clone
I have
This is an old question but if you are on Windows, consider setting HTTPS_PROXY as well if you are retrieving via an https URL. Worked for me!