pull from upstream branch git code example
Example 1: git fetch upstream from master
$ git rebase upstream/master
$ git checkout master
$ git fetch upstream
Example 2: check upstream branch git
git status -sb
$ git rebase upstream/master
$ git checkout master
$ git fetch upstream
git status -sb