pull and checkout remote branch code example
Example 1: git checkout remote branch
git checkout --track origin/<branchname>
Example 2: pull down remote branch git
git fetch origin
git checkout --track origin/<branch_name>
Example 3: how to pull remote branch into local branch
git fetch origin <branch-name>
Example 4: checkout remote branch
git fetch origin
git checkout –track origin/xyz