Added a -g/--git flag to enable direct git support