To clone from a remote repository by specifying a specific branch in git, use the -b option and specify the branch name.
(Example) Clone the v0.12 branch from the node repository
# git clone -b branch_name [email protected]:target_orgs/target_repo.git
git clone -b v0.12 [email protected]:joyent/node.git
That’s all about cloning by specifying a specific branch from remote with git from the Gemba.