getCommits (TODO)