Use '-t' option in git checkout to set upstream tracking on branches. Fixes #5476.
Merge pull request #7138 from quinnj/jq/checkout

Add '-t' option to git checkout