remote: use git_branch_upstream_remote() This reduces the clutter somewhat and lets us see what we're asking about the reference.