I'm confused to which one actually creates a branch based on the current branch?
We can even add git branch <branchname> on top of them, aren't they all the same?
I'm confused to which one actually creates a branch based on the current branch?
We can even add git branch <branchname> on top of them, aren't they all the same?
It's formally the same thing in terms of results, but it is a newly introduced verb which less responsibility as checkout.
Read this article for further information.