git doing a pull on a branch code example
Example 1: how a to pull a branch in git
$ git pull origin other-branch
Example 2: how to pull from a branch in git
git pull origin other-branch
$ git pull origin other-branch
git pull origin other-branch