Set a branch's upstream branch
This will update the configuration to set the branch named branch_name
as the upstream of branch
.
Pass a NULL name to unset the upstream information.
remote-tracking or local branch to set as upstream.
0 on success; GIT_ENOTFOUND if there's no branch named branch_name
or an error code