how to git pull a particular branch from repos code example
Example 1: gitlab clone branch
git clone --single-branch --branch <branchname> <remote-repo>
Example 2: how to pull down a specific branch from github
git clone -b <branch> <remote_repo>