* workaround: the commit builder takes a references that is to be updated. A recent change to libgit2 prevents the write operation from succeeding, if the reference doesn't exist (such as when creating the first commit on master). This workaround creates a dummy references and updates it after the write operation (very very ugly but need to wait for response from libgit2 devs)