Rebar poor proxy git fixer

Sometimes you are behind a http proxy, and the git:// protocol is not accessible.

For instance on erlang rebar, all developers  prefer the git:// protocol when listing dependency. But how to fix it if you are behind a http proxy?

Ask help to git... [bash] git config --global url.https://github.com/.insteadOf git://github.com/ [/bash]

Credits: http://erlang.org/pipermail/erlang-questions/2014-March/078402.html