getCommits and getRepos