You can configure a few crucial Git server settings through the GitHub Enterprise admin tools.
Setting Git push limits
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.
For more information, see "Setting Git push limits".
Blocking force pushes
You can block force pushes to a single repository, all repositories that belong to a certain user or organization, or all repositories on your GitHub Enterprise instance. For more information, see these articles:
- "Blocking force pushes to a repository".
- "Blocking force pushes to repositories owned by a user account or organization".
- "Blocking force pushes on your appliance".
Configuring Git Large File Storage (Git LFS)
Git Large File Storage on GitHub Enterprise is part of an early access technical preview. It is not currently supported for production use. If you experience any issues, contact GitHub Enterprise support.
By default, Git LFS is disabled for every repository on your your GitHub Enterprise instance. However, you can enable Git LFS for a single repository, every repository that belongs to a certain user or organization, or every repository on your your GitHub Enterprise instance. For more information, see these articles: