Adds a temporary method for getAllCommits