git pull from a different branch no main code example
Example 1: how to pull from a particular branch in git
git pull origin <branch>
Example 2: git pull on another branch
git fetch origin master:master
git pull origin <branch>
git fetch origin master:master