[gh](https://cli.github.com/) allows to get git data from remote service using GraphQL queries. Consider replacement of [Octokit API](https://github.com/octokit/octokit.rb) with [hub](https://hub.github.com/).