Специфическая ветвь клона
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 git@github.com:user/myproject.git
git clone -b <branchname> <remote-repo-url>
clone specefic branch in git
git clone --single-branch --branch <branchname> <remote-repo>
git clone -b passwordless-auth git@github.com:BolajiAyodeji/nextjs-blog.git