git pull to update local branch code example
Example 1: how to pull from a branch in git
git pull origin other-branch
Example 2: pull from a brrrnch in git
$ git fetch origin other-branch
git pull origin other-branch
$ git fetch origin other-branch