Thanks to visit codestin.com Credit goes to libgit2.org
Determine if the given object can be found in the object database.
database to be searched for the given object.
the object to search for.
1 if the object was found, 0 otherwise