Sets the custom backend to an existing reference DB
The git_refdb will take ownership of the git_refdb_backend so you should NOT free it after calling this function.
git_refdb
git_refdb_backend
database to add the backend to
pointer to a git_refdb_backend instance
0 on success; error code otherwise