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