how to checkout from master branch to specific branch code example
Example: clone branch git
git clone <repository_url>
git branch -a
git checkout <branch_name>
git clone <repository_url>
git branch -a
git checkout <branch_name>