Data report"State of code review 2024" is now liveRead the full report

GitHub Enterprise

Greg Foster
Greg Foster
Graphite software engineer

GitHub Enterprise is a platform designed for businesses requiring advanced collaboration, compliance, and security features on top of GitHub's core product offering. In this guide, we'll explore the various aspects of GitHub Enterprise, including its cloud and server options, pricing structure, API capabilities, and the integration of GitHub Copilot for enterprise users.

GitHub provides two primary deployment options for its enterprise users: GitHub Enterprise Cloud and GitHub Enterprise Server.

GitHub Enterprise Cloud is hosted by GitHub, which means that the infrastructure, maintenance, and management tasks are handled by GitHub itself. This option is best suited for organizations that prefer not to manage server hardware or network configurations. It offers the following advantages:

  • Ease of setup and maintenance: No need to worry about hardware or server updates.
  • Scalability: Easily scales to accommodate the growth of your organization.
  • Access to latest features: Immediate access to the latest features and updates.

Conversely, GitHub Enterprise Server is an on-premises solution that gives you full control over your GitHub environment. It is installed and managed on your own servers or in a private cloud environment. Key features include:

  • Full control over infrastructure: Ideal for meeting specific compliance and regulatory requirements.
  • Customization: More options for integration and customization with internal systems.
  • Data sovereignty: Keeps all data within your controlled environment, which can be crucial for highly regulated industries.

The GitHub Enterprise API extends the capabilities of the standard GitHub API, offering additional endpoints that cater to the needs of large organizations. This API allows you to automate workflows, integrate with third-party tools, and manage organizational resources programmatically. Key functionalities include:

  • Automation of administrative tasks: Automate user, team, and repository management tasks.
  • Security integrations: Integrate with security and compliance tools to monitor and enforce policies.
  • Custom reporting: Generate custom reports on usage, contributions, and more.

For developers, interacting with the GitHub Enterprise API involves making HTTP requests to specific endpoints. For example, to list all members of an organization, you might use a command like:

Terminal
curl -H "Authorization: token YOUR_ACCESS_TOKEN" https://api.github.com/orgs/YOUR_ORG/members

This command uses curl, a command-line tool and library for transferring data with URLs, to make an HTTP GET request to the GitHub API.

GitHub Copilot, now available for enterprise users, is an AI-powered code completion tool that helps developers write code faster and more efficiently. Copilot for enterprise integrates seamlessly with GitHub Enterprise, providing the following benefits:

  • Enhanced productivity: Suggests whole lines or blocks of code as you type.
  • Team-specific context: Trains on your own codebases to provide suggestions that are tailored to your organization's coding styles and practices.
  • Secure and private: Operates within the bounds of your enterprise environment to ensure that code suggestions remain secure and private.
  1. Cost: GitHub Enterprise is significantly more expensive than GitHub's free or lower-tier plans. The cost can be a substantial investment, especially for startups or smaller companies that might not require the advanced features provided by GitHub Enterprise.

  2. Complexity of setup and maintenance: GitHub Enterprise can be deployed as a self-hosted solution or as a cloud service (GitHub Enterprise Cloud). The self-hosted option requires your IT team to manage the installation, setup, and ongoing maintenance of the servers and infrastructure. This can be complex and resource-intensive, especially regarding ensuring high availability, backups, and security compliance.

  3. Overhead for small teams: For smaller development teams or projects, the extensive feature set and administrative capabilities of GitHub Enterprise might be overkill. The platform is designed for large teams with complex workflows, so smaller teams might find the system cumbersome and not aligned with their simpler needs.

  4. Learning curve: GitHub Enterprise includes advanced features like sophisticated user management, security controls, and administrative tools that can have a steep learning curve. New users or teams may require additional training to fully leverage these capabilities, potentially slowing initial adoption.

  5. Integration complexity: While GitHub Enterprise offers extensive API support and can integrate with a wide array of tools and systems, integrating it into a complex enterprise environment can be challenging. It may require custom development work to ensure compatibility with existing corporate tools and systems, such as identity providers, CI/CD pipelines, and issue tracking systems.

  6. Potential vendor lock-in: Adopting GitHub Enterprise can lead to vendor lock-in, where switching to another solution in the future could be costly and disruptive. Organizations may become dependent on specific features and integrations provided by GitHub, making it difficult to migrate to another platform without significant effort and resource investment.

  7. Internet connectivity requirements (for Enterprise Cloud): GitHub Enterprise Cloud requires continuous internet connectivity to access the platform. This could be a limitation for teams in locations with unreliable internet service or those that require local access to their development environments due to security or other operational reasons.

The pricing model for GitHub Enterprise is subscription-based and varies depending on the deployment option chosen and the number of users. GitHub typically offers a tiered pricing structure:

  • Per user pricing: Charges are typically per user per month, which can scale based on the number of users and the specific features needed.
  • Annual commitment: GitHub often provides options for annual billing, which can include discounts compared to monthly payments.

For accurate and current pricing, it's recommended to contact GitHub directly or visit their official pricing page, as prices can fluctuate based on new features and regional differences.

For further reading on GitHub enterprise, see the official GitHub Enterprise page.

Graphite
Git stacked on GitHub

Stacked pull requests are easier to read, easier to write, and easier to manage.
Teams that stack ship better software, faster.

Or install our CLI.
Product Screenshot 1
Product Screenshot 2