Opens a git_commit_graph from a path to an objects directory.
git_commit_graph
This finds, opens, and validates the commit-graph file.
commit-graph
the git_commit_graph struct to initialize.
the path to a git objects directory.
Zero on success; -1 on failure.