update #branch to return the upstream branch name

Since the local branch name can be different