how to clone a specific branch from github that you are not working

Shell
git clone --single-branch --branch <branchname> <remote-repo>
git clone --single-branch --branch <branch> <repository>
git clone --single-branch --branch <branchname> <remote-repo>git clone -b <branch> <remote_repo>
Source

Also in Shell: