git pull a branch from another 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