commit-graph: implement git commit-graph read