Article version: Enterprise Server 2.15

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-10-16. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Enabling anonymous Git read access for a repository

As a repository administrator, you can enable or disable anonymous Git read access for public repositories that meet certain requirements.

Repository administrators can change the anonymous Git read access setting for a specific repository if:


  • You cannot change the Git read access settings for forked repositories since they inherit their access settings from the root repository by default.
  • If a public repository becomes private, then anonymous Git read access will automatically be disabled for that repository and it forks.
  • If a repository with anonymous authentication contains Git LFS assets, it will fail to download the Git LFS assets since they still require authentication. We strongly recommend not enabling anonymous Git read access for a repository with Git LFS assets.
  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings.

    Repository settings button

  3. Next to "Enable anonymous Git read access", click Enable.

    "Enabled" button under "Anonymous Git read access"

  4. Review the changes. To confirm, type in the name of the repository and click I understand, enable anonymous Git read access.

Ask a human

Can't find what you're looking for?

Contact us