You can clone with
HTTPS or Subversion.
We should fix the bug, and ideally add integration tests covering this use case (ie. request with a segment, and a grouping of eg. 3 (default being Piwik_transitions::$limitBeforeGrouping == 5))
In b8f2e20: Fixes #3784 Fixing API, but ideally would need tests