git checkout list code example
Example 1: git list remote branches
git branch -r
Example 2: "git checkout -b" example
$ git checkout -b new-branch --track origin/develop
git branch -r
$ git checkout -b new-branch --track origin/develop