git how can i checkout the branches from the server to my local machine code example
Example 1: checkout remote branch
git fetch origin
git checkout –track origin/xyz
Example 2: how to track a branch on github
$ git checkout --track origin/serverfix
Branch serverfix set up to track remote branch serverfix from origin.
Switched to a new branch 'serverfix'