refactored fetch_contributions to use octokit