Maybe I should clarify a bit. It turns out that `git_repository_init` [is a wrapper](https://github.com/linquize/libgit2/blob/ef6389ad504037e7a4311adbf14f1fa5a5aa4190/src/repository.c#L1348-L1358) around `git_repository_init_ext`, so let's just use the `_ext` variant.

This probably means dropping the `bare` option, in favor of setting the `GIT_REPOSITORY_INIT_BARE` bit on `init_options.flags`.