Klon specyficzny dla gałęzi
git clone --single-branch --branch <branchname> <remote-repo>
Concerned Crane
git clone --single-branch --branch <branchname> <remote-repo>
In general:
git clone -b <branch> <remote_repo>
Example:
git clone -b develop [email protected]:user/myproject.git
git clone -b branchName repoUrl
git clone -b <branchname> <remote-repo-url>
git clone -b <your_branchname> <your_git-remote-repo>
git clone <repository_url>
git branch -a
git checkout <branch_name>