update #branch to return the upstream branch name