Klonspezifischer Zweig
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 <your_branchname> <your_git-remote-repo>
git clone -b <branchname> --single-branch <remote-repo-url>
git clone <repository_url>
git branch -a
git checkout <branch_name>