To keep the user file system from growing too large, users will receive a warning message if they add new files or update existing files larger than 50 MB. Additionally, end users will be blocked by default from pushing files or updating existing files larger than 100 MB.

  1. As a site admin, sign in to your GitHub Enterprise instance at http(s)://[hostname]/login.

  2. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  3. In the left sidebar, click Advanced Settings. ghe-adv-settings

  4. In the "Advanced Settings" section, under "Add a new setting", add the following key/value pair:
    • Key: git.maxobjectsize
    • Value: an integer (in MB). To disable Git push limits, enter 0.

Note: Only files larger than 50 MB will be checked against the Git push limit. If you need to set a lower push limit, contact GitHub Enterprise Support for assistance.