how to pull from new branch git code example
Example 1: how a to pull a branch in git
$ git pull origin other-branch
Example 2: git pull a new branch froma remote repo
git checkout --track origin/daves_branch
$ git pull origin other-branch
git checkout --track origin/daves_branch