pub fn history_json( branch: Option<&str>, head: Option<String>, commits: &[CommitInfo], ) -> Value
-s --json: the branch history, newest first (numbers match --commit/--select).
-s --json
--commit
--select