Syntax

git clone -b <branch> <repo>

Example

git clone -b gw9 http://sample.gitrepo.org/r/gw/scm.git

Where:

branch = gw9
repo = http://sample.gitrepo.org/r/gw/scm.git