Use different git commands for different git versions
Use different git commands for different git versions

The option --single-branch was introduced in git version 1.7.10 and
thus rebar3 cannot fetch git dependencies on systems where earlier
git versions are install.

This commit will select other git clone commands if an earlier git
version is detected. If the git version cannot be determined rebar3
falls back on the previous behavior and uses --single-branch.

saleyn/rebar3,lrascao/rebar3,tsloughter/rebar3,vladdu/rebar3,ferd/rebar3,djnym/rebar3,rebar/rebar3,erlang/rebar3,benoitc/rebar3,benoitc/rebar3,rebar/rebar3