Change git_branch_next type_out type

Should we pass this into the Branch ctor instead of inferring type?