how to only clone a branch in github desktop code example
Example 1: clone a given branch github
git clone --single-branch --branch <branch> <repository>
Example 2: how to clone a specific branch from github that you are not working
git clone -b <branch> <remote_repo>