pull branch of repo code example
Example 1: git pull on another branch
git fetch origin master:master
Example 2: pull from a brrrnch in git
$ git fetch origin other-branch
git fetch origin master:master
$ git fetch origin other-branch