Create a new object database and automatically add the two default backends:
objects_dir as the Objects folderobjects_dir as the Objects folder which
contains a 'pack/' folder with the corresponding datalocation to store the database pointer, if opened. Set to NULL if the open failed.
path of the backends' "objects" directory.
GIT_SUCCESS if the database opened; otherwise an error code describing why the open was not possible.