go-git: Correct way to create a local branch, emulating behavior of "git branch <branchname>"? go-git: Correct way to create a local branch, emulating behavior of "git branch <branchname>"? go go

go-git: Correct way to create a local branch, emulating behavior of "git branch <branchname>"?