git check reports latest ref if not specified

also always reports the resulting branch