From the docs
Repositories should generally be no larger than 10GB. You can run git count-objects -vH in a command prompt, and look for the entry called "size-pack" to determine how large your repository is:
https://learn.microsoft.com/en-us/azure/devops/repos/git/limits?view=azure-devops