Split githubApi into a services wrapper.