Well, git doesn't really commit 'to' a branch.
You just build commits, and then later on you muck around with the mutable pointers that are branches.