This happened to me as I had 3k new files inside of a single commit. I fixed it by splitting this commit into smaller commits.