git clone command with branch name from github code example
Example 1: git clone from specific branch
git clone -b branchName repoUrl
Example 2: clone branch git
git clone <repository_url>
git branch -a
git checkout <branch_name>
git clone -b branchName repoUrl
git clone <repository_url>
git branch -a
git checkout <branch_name>