how to pull branch from origin code example
Example 1: how to pull remote branch into local branch
git fetch origin <branch-name>
Example 2: how to pull from a branch in git
git pull origin other-branch
git fetch origin <branch-name>
git pull origin other-branch