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
What finally worked was setting the http_proxy environment variable. I had set HTTP_PROXY correctly, but git apparently likes the lower-case version better.
http_proxy
HTTP_PROXY