ветвь клонирования git
git clone --single-branch --branch <branchname> <remote-repo>
клон git из определенной ветви
git clone -b branchName repoUrl
как клонировать определенную ветвь в git
git clone -b <your_branchname> <your_git-remote-repo>
git клонирует конкретную ветвь
git clone --single-branch --branch <branchname> <remote-repo>
# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
git клонирует только конкретную ветвь
git clone -b mybranch --single-branch git://sub.domain.com/repo.git
конкретный клон ветви git
git clone -b <branch> <remote_repo>
git clone -b my-branch [email protected]:user/myproject.git