Fetch single branch (trunk): git fetch origin trunk:trunk
(add -u
flag when already on that branch)
Make a new worktree (similar to hg share): git worktree add --no-checkout --detach ../mynewfolder
Converting Hg repo to Git:
; get https://github.com/frej/fast-export somewhere