Thanks to visit codestin.com Credit goes to libgit2.org
Lookup an ODB backend object by index
output pointer to ODB backend at pos
object database
index into object database backend list
0 on success; GIT_ENOTFOUND if pos is invalid; other errors < 0