command to pull a branch from git to another local branch code example
Example 1: git pull from another branch
git pull origin <branch-name>
Example 2: git pull on another branch
git fetch origin master:master
git pull origin <branch-name>
git fetch origin master:master