Commit 923c0f7b763bf3d20f9cd8f02ab9b1d400c733ab

Edward Thomson 2021-01-07T17:34:17

clone: set refs/remotes/origin/HEAD when branch is specified When a branch is specified to check out in clone, update the remote tracking `HEAD` to point to it. This mimics git's behavior, when `git clone -b <name>` is used.