added comments to get_repo_commits()