Gałka Git Clone
git clone --single-branch --branch <branchname> <remote-repo>
Concerned Crane
git clone --single-branch --branch <branchname> <remote-repo>
git clone -b <branchName> <remote_repo_url>
git clone -b <your_branchname> <your_git-remote-repo>
git clone --single-branch --branch <branchname> <remote-repo>
# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
git clone <repository_url>
git branch -a
git checkout <branch_name>
$ git clone -b <branch> <remote_repo>