git pull code from another branch code example
Example 1: how to pull from a particular branch in git
git pull origin <branch>
Example 2: git pull from another branch
git pull origin <branch-name>
Example 3: git pull on another branch
git fetch origin master:master