Close an open commit
This is a wrapper around git_object_close()
IMPORTANT: It is necessary to call this method when you stop using a commit. Failure to do so will cause a memory leak.
the commit to close