Use git_protocol ENV VAR

The protocol used to connect to github needs to
be configurable to handle cases where the git
protocol is not supported.

This patch allows the same git_protocol env var used
by Puppetfile to be used.