make pull request github from one branch to another code example
Example 1: git pull on another branch
git fetch origin master:master
Example 2: git pull from another branch
git pull origin <branch-name>
git fetch origin master:master
git pull origin <branch-name>