r=praphull Update fetchRepoCommits function to get more than one page