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
When your network team does ssl-inspection by rewriting certificates, then using a http url instead of a https one, combined with setting this var worked for me.
git config --global http.proxy http://proxy:8081