sudo git checkout code example
Example 1: "git checkout -b" example
$ git checkout -b new-branch --track origin/develop
Example 2: pull and clone origin branch locally
git clone --branch <branchname> <remote-repo-url>
git clone -b <branchname> <remote-repo-url> // -b === --branch