Article version: Enterprise Server 2.17
Conditions for large files
GitHub Enterprise limits the size of files allowed in repositories, and will block a push to a repository if the files are larger than the maximum file limit.
Tip: If you regularly push large files to your GitHub Enterprise Server instance, consider using Git Large File Storage (Git LFS). For more information, see "Versioning large files."
If you attempt to add or update a file that is larger than 50 MB, you will receive a warning from Git. The changes will still successfully push to your repository, but you can consider removing the commit to minimize performance impact. For more information, see "Removing files from a repository's history."
By default, GitHub Enterprise blocks pushes that exceed 100 MB. However, a site administrator can configure a different limit for your GitHub Enterprise Server instance. For more information, see "Setting Git push limits".