git fetch from different branch code example
Example 1: fetch a particular branch git
git fetch origin branch-name
Example 2: git pull on another branch
git fetch origin master:master
Example 3: fetch a specific branch
git fetch <remote_rep> <remote_branch>:<local_branch>