Extract git related methods to Phare::Git