Git Clone Only One Branch

git clone learned –single-branch option to limit cloning to a single branch (surprise!); tags that do not point into the history of the branch are not fetched.
Git actually allows you to clone only one branch, for example:

1
$ git clone -b mybranch --single-branch git://sub.domain.com/repo.git