function listRepoCommitsIterator(GithubService $api, AuthToken $oauth2Token)
 {
     $username = "******";
     $repo = "GithubArtaxService";
     $listRepoCommits = $api->listRepoCommits($oauth2Token, $username, $repo);
     $command = $api->listRepoCommits($oauth2Token, $username, $repo);
     $command->setAuthor('Danack');
     $commitsIterator = new \GithubService\Iterator\ListRepoCommitsIterator($api, $oauth2Token, $listRepoCommits);
     $context = new \GithubExample\Context\ListRepoCommitsByPage();
     $page = 1;
     foreach ($commitsIterator as $commits) {
         $context->addCommits($page, $commits);
         $page++;
     }
     return JigExecutable::createWithSharedObjects("pages/listRepoCommitsIterator", [$context]);
 }