Create a human friendly message about git’s sync status.
Give the oid of the branch or an appropriate error.
Get the branches that point to a commit.
Get the diff stats between two commits.
Should match the default output of git diff <old> <new> --stat exactly.
Get the Patch title and description from the command line arguments, or request it from the
user.
Get a patch edit message.
Determine the merge target for this patch. This can be any followed remote’s “default” branch,
as well as your own (eg. rad/master).
Get a patch update message.
List the given commits in a table.
Combine the title and description fields to display to the user.
Return commits between the merge base and a head.
Print commits ahead and behind.