Added functionality to retrieve git commits for a repository.