getCommits (incomplete)