pull remote branch to local branch git code example
Example 1: git pull on another branch
git fetch origin master:master
Example 2: how to pull remote branch into local branch
git fetch origin <branch-name>
Example 3: git pull a new branch froma remote repo
git checkout --track origin/daves_branch
Example 4: how to pull from a branch in git
git pull origin other-branch