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 <branchName> <remote_repo_url>
git clone -b branchName repoUrl
git clone -b <branchname> <remote-repo-url>
clone a specific branch...
$ git clone -b <branchName> <clone with HTTPs link>