how to clone a different branch in github code example
Example 1: clone from a specific branch
git clone -b <branchName> <remote_repo_url>
Example 2: how do i clone a specific branch in git
git clone -b <your_branchname> <your_git-remote-repo>
git clone -b <branchName> <remote_repo_url>
git clone -b <your_branchname> <your_git-remote-repo>