how to fetch a branch from git code example
Example 1: fetch a particular branch git
git fetch origin branch-name
Example 2: git get remote branches
git branch -r
Example 3: git fetch remote branch
git checkout --track origin/branch_name
Example 4: fetch a specific branch
git fetch <remote_rep> <remote_branch>:<local_branch>