getCommitsFromBranch only returns up to 50 commits. Was throwing outofmemory exceptions.