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:

Configuring Git Large File Storage (Git LFS)

By default, Git LFS is enabled. However, you can disable Git LFS for a single repository, every repository that belongs to a certain user or organization, or every repository on your GitHub Enterprise instance. For more information, see these articles: