To checkout remote branch and track it from its remote origin
$ git fetch $ git branch -v -a ##List available remote branches $ git checkout b1 Branch b1 setup to track remote branch b1 from origin. Switched to a new branch 'b1'
To checkout remote branch and track it from its remote origin
$ git fetch $ git branch -v -a ##List available remote branches $ git checkout b1 Branch b1 setup to track remote branch b1 from origin. Switched to a new branch 'b1'