pull another branch from remote code example
Example 1: git pull from another branch
git pull origin <branch-name>
Example 2: how to pull a new remote branch
git fetch <remote> <rbranch>:<lbranch>
git checkout <lbranch>
git pull origin <branch-name>
git fetch <remote> <rbranch>:<lbranch>
git checkout <lbranch>