Git has an inherent problem if you plan on storing large files in the repository; it only allows a total repository size of 2GB. For projects that require storage of assets that are large in size, we can leverage the Git LFS mechanism in our repository.
I found a couple of videos that explain this quite well:
I hope you find this helpful for your AEM Development. I know I did!