git is needed in any case

both for rebar deps checkout and compiling source code.