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