Added pagination and branch support for listrepositorycommits