git pull changes from remote branch into local branch code example
Example 1: how to merge remote branch
//make sure you're on the local branch, then:
git pull origin YourRemoteBranch
//which is the same as:
git fetch origin YourRemoteBranch
git merge origin/YourRemoteBranch
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