clone specific branch from github code example
Example 1: git clone from specific branch
git clone -b branchName repoUrl
Example 2: how to clone a specific branch from github that you are not working
git clone -b <branch> <remote_repo>
git clone -b branchName repoUrl
git clone -b <branch> <remote_repo>