Create a new reference database with no backends.
Before the Ref DB can be used for read/writing, a custom database
backend must be manually set using git_refdb_set_backend()
location to store the database pointer, if opened. Set to NULL if the open failed.
0 or an error code