Open a bare repository on the serverside.
This is a fast open for bare repositories that will come in handy if you're e.g. hosting git repositories and need to access them efficiently
Note that the libgit2 library must be initialized using
git_libgit2_init
before any APIs can be called, including
this one.
Direct path to the bare repository
0 on success, or an error code