take a pull from local branch code example
Example 1: how to pull from a particular branch in git
git pull origin <branch>
Example 2: how a to pull a branch in git
$ git pull origin other-branch
git pull origin <branch>
$ git pull origin other-branch