Creates a new Git repository in the given folder.
TODO: - Reinit the repository
Note that the libgit2 library must be initialized using
git_libgit2_init
before any APIs can be called, including
this one.
the path to the repository
if true, a Git repository without a working directory is created at the pointed path. If false, provided path will be considered as the working directory into which the .git directory will be created.
0 or an error code