git command to fetch remote branch code example
Example 1: git get remote branches
git branch -r
Example 2: how to pull a new remote branch
git fetch <remote> <rbranch>:<lbranch>
git checkout <lbranch>
git branch -r
git fetch <remote> <rbranch>:<lbranch>
git checkout <lbranch>