git: Checkout the git branch as part of initial clone.

Authored by mpyne on Dec 16 2017, 10:35 PM.