Apparently repo.do_commit(message='test commit', committer='Name ') only commits to refs/heads/master.
Is there a way to set the current commit ref to another one than refs/heads/master?
Or is the only way to commit to a branch by creating a Commit object (as shown in the tutorial in the documentation) and setting it's parent to be the one of the branches commit id?
Should this be true, which would then be the use of repo.do_commit other than committing to refs/heads/master?