update #branch to return the upstream branch name
Merge pull request #12 from kjg/patch-1

update #branch to return the upstream branch name