Update getCommits and getIssues in repo to reflect class nature of issues and commits, update commit class to get json