Added method to get all commits for a project