commit-graph: add 'verify' subcommand