Reduce complexity of GithubService methods