Kinda feel like this belongs in helpers/github.js as well.  Say, as a get_hub_config method that would return these details in an array of maps or a map of maps.