Preface
Welcome
If you are reading this book, you are likely responsible for — or about to become responsible for — running GitHub at scale within your organization. Whether you manage a GitHub Enterprise Cloud deployment for thousands of developers, administer Copilot licenses across multiple teams, or are preparing for the GitHub Administration (GH-100) certification exam, this book was written for you.
GitHub has evolved far beyond a code hosting platform. It is now an integrated development environment encompassing identity management, AI-assisted coding, security scanning, CI/CD automation, and governance at enterprise scale. Administering this platform effectively requires a breadth of knowledge that spans identity providers, policy engines, security tooling, and organizational change management.
This book takes a hands-on, practitioner-first approach. Every chapter includes real configuration steps, CLI commands you can run immediately, and guided assignments that walk you through setting up and managing a production-grade GitHub Enterprise environment. By the time you finish, you will have both the conceptual understanding and the practical muscle memory to administer GitHub confidently.
The book also covers the emerging frontier of agentic development — where GitHub Copilot moves beyond code suggestions into autonomous coding agents, MCP-powered tool integrations, and AI-driven workflows. These capabilities are reshaping how teams build software, and as an administrator, you need to understand how to govern and enable them.
Who This Book Is For
This book is designed for several audiences:
IT Administrators and Platform Engineers who manage GitHub Enterprise Cloud or GitHub Enterprise Server deployments. You need to configure SSO, provision users, set up security policies, and ensure compliance. This book gives you step-by-step procedures for every major administrative task.
DevOps Engineers and SREs who manage GitHub Actions runners, CI/CD pipelines, and developer tooling. You will find detailed coverage of self-hosted runners, reusable workflows, and how to integrate GitHub into your broader infrastructure.
GitHub Enterprise Administrators who are responsible for organization-level and enterprise-level policy. This book covers rulesets, audit logs, custom repository roles, and the governance features that keep large deployments secure and compliant.
Consultants and Solutions Architects who implement GitHub for clients. The modular structure of this book lets you jump directly to the chapters relevant to your current engagement. Each chapter lists its prerequisites so you can cherry-pick without missing critical context.
GH-100 Exam Candidates preparing for the GitHub Administration certification. Every chapter is mapped to the official exam domains, and the book includes 170 practice questions distributed across chapters in the same Q&A format you will encounter on the exam.
Engineering Managers and Technical Leaders who need to understand what GitHub administration involves, even if they are not the ones clicking the buttons. The conceptual sections at the start of each chapter provide the context you need to make informed decisions.
Prerequisites
To get the most from this book, you should have:
- Basic GitHub familiarity — You understand what repositories, branches, pull requests, and commits are. You have used GitHub as a developer, even if only casually.
- A GitHub account — A free account is sufficient for many exercises. For enterprise-specific labs, you will need access to a GitHub Enterprise Cloud trial or an existing enterprise account.
- Comfort with the command line — Many exercises use the GitHub CLI (
gh), Git, and basic shell commands. Both Bash and PowerShell variants are provided where relevant. - An identity provider (optional but recommended) — Chapters on SAML, SCIM, and EMU are most effective if you can configure a test IdP such as Entra ID (Azure AD), Okta, or PingFederate.
- Willingness to experiment — The hands-on labs are designed for safe experimentation. We encourage you to set up a dedicated trial enterprise account so you can practice without risk to production systems.
You do not need prior experience with GitHub administration, enterprise security tools, or GitHub Copilot. This book starts from first principles and builds progressively.
How to Use This Book
This book supports three reading strategies. Choose the one that fits your situation:
Sequential Readers
If you are new to GitHub administration or want a comprehensive understanding, read chapters 1 through 17 in order. Each chapter builds on concepts and configurations from previous chapters. By chapter 17, you will have a fully configured enterprise environment with identity management, Copilot administration, security scanning, CI/CD governance, and an adoption strategy.
Consultants and Cherry-Pickers
If you are an experienced administrator or consultant, use the chapter dependency map below to jump directly to the topics you need. Each chapter opens with a prerequisites section that lists which earlier chapters (if any) you should complete first. For example, you can jump directly to Chapter 5 (Copilot Policies) if you have already completed Chapter 4 (Copilot Rollout) or have equivalent experience.
Exam Candidates
If your primary goal is passing the GH-100 exam, start with Appendix A (GH-100 Study Guide) to understand the domain weighting. Then work through chapters in priority order based on domain weight:
- Domain 5 (36%) — Chapter 6: GHAS and Repository Security
- Domain 3 (27%) — Chapters 4-5: Copilot Administration
- Domain 2 (18%) — Chapters 2-3: Identity and Access
- Domain 4 (10%) — Chapters 7-8: Governance and Compliance
- Domain 1 (9%) — Chapters 1, 9: Enterprise Support
- Domain 6 — Chapter 12: GitHub Actions
Use the Q&A sections at the end of each chapter as practice exams. The 170 questions across the book are written in the same multiple-choice format as the certification exam.
Book Structure
The book is organized into six parts that mirror the lifecycle of an enterprise GitHub deployment:
Part I: Foundation (Chapter 1)
| Chapter | Title |
|---|---|
| 1 | Enterprise Account Setup and Billing |
Part I establishes the foundation. You will create or configure a GitHub Enterprise account, understand the hierarchy of enterprise, organizations, and teams, and set up billing. This is where every GitHub administration journey begins.
Part II: Identity and Provisioning (Chapters 2-3)
| Chapter | Title |
|---|---|
| 2 | SAML Single Sign-On and SCIM Provisioning |
| 3 | Enterprise Managed Users (EMU) |
Part II covers identity management — the most critical decision in any enterprise GitHub deployment. You will configure SAML SSO, set up SCIM for automated user provisioning, and understand when and how to use Enterprise Managed Users.
Part III: Copilot Administration (Chapters 4-6)
| Chapter | Title |
|---|---|
| 4 | GitHub Copilot Rollout and Licensing |
| 5 | Copilot Policies, Content Exclusions, and Custom Instructions |
| 6 | GitHub Advanced Security (GHAS) and Repository Security |
Part III is the largest section by exam weight. You will roll out Copilot across your enterprise, configure policies and content exclusions, and set up the full suite of GitHub Advanced Security features including CodeQL, secret scanning, and Dependabot.
Part IV: Governance, Tooling, and Workflows (Chapters 7-12)
| Chapter | Title |
|---|---|
| 7 | Repository Policies and Rulesets |
| 8 | Audit Log and Compliance |
| 9 | Enterprise Support and Health |
| 10 | GitHub Apps and API Integrations |
| 11 | Innersource and Repository Visibility |
| 12 | GitHub Actions Administration |
Part IV covers the operational layer. You will configure rulesets, monitor audit logs, manage support tickets, build integrations with GitHub Apps, enable innersource patterns, and administer GitHub Actions at scale.
Part V: Agentic Development (Chapters 13-15)
| Chapter | Title |
|---|---|
| 13 | Copilot Coding Agent |
| 14 | Agent Skills and MCP Integration |
| 15 | Governing Agentic Workflows |
Part V explores the cutting edge. You will configure Copilot's coding agent capabilities, integrate external tools through the Model Context Protocol (MCP), and establish governance frameworks for AI-driven development workflows.
Part VI: Adoption and Transformation (Chapters 16-17)
| Chapter | Title |
|---|---|
| 16 | Measuring Copilot Adoption and ROI |
| 17 | Enterprise Rollout and Change Management |
Part VI addresses the human side of GitHub administration. You will learn how to measure Copilot's impact, build adoption dashboards, and drive organizational change management for enterprise-wide rollouts.
GH-100 Exam Alignment
The GitHub Administration (GH-100) certification exam covers six domains. Each chapter in this book is mapped to one or more exam domains, and the practice questions at the end of each chapter are weighted to match the exam's domain distribution.
| Exam Domain | Weight | Primary Chapters |
|---|---|---|
| D1: Support GitHub Enterprise for users | 9% | 1, 9 |
| D2: Manage user identities and access | 18% | 2, 3, 8 |
| D3: Manage GitHub Copilot | 27% | 4, 5 |
| D4: Manage governance and compliance | 10% | 7, 8 |
| D5: Manage repository security and GHAS | 36% | 6 |
| D6: Manage GitHub Actions | — | 12 |
For a detailed study plan with week-by-week scheduling, see Appendix A: GH-100 Study Guide.
Conventions Used in This Book
Throughout this book, you will encounter the following conventions:
Commands and Code
CLI commands are presented in fenced code blocks with the shell noted:
# Bash / macOS / Linux
gh auth login --hostname github.com
# PowerShell / Windows
gh auth login --hostname github.com
When a command works identically in both shells, only one block is shown. When behavior differs (such as environment variable syntax), both variants are provided.
Callout Boxes
Note: General information or helpful context that supplements the main text.
Warning: Important caution about a potentially destructive or irreversible action.
Exam Tip: Information specifically relevant to the GH-100 certification exam.
Best Practice: Recommended approach based on real-world enterprise experience.
Diagrams
Architecture and flow diagrams are written in Mermaid syntax and rendered inline. If your reader does not support Mermaid rendering, the diagram source is always readable as structured text.
Q&A Sections
Each chapter ends with 10 multiple-choice questions in this format:
Q1. What is the maximum number of organizations in a GitHub Enterprise account?
A) 10 B) 100 C) Unlimited D) 1,000
Answer: C — A GitHub Enterprise account can contain an unlimited number of organizations.
About the Hands-On Labs
Every chapter includes a hands-on assignment and a guided walkthrough. The assignments are designed to reinforce the concepts covered in the chapter and give you practical experience with the GitHub UI, CLI, and API.
Assignment Structure:
Each assignment follows this pattern:
- Objective — A clear statement of what you will accomplish.
- Prerequisites — What must be in place before you start (accounts, tools, prior chapter completions).
- Steps — A numbered list of actions to perform, with expected outcomes at each step.
- Validation — How to verify that you completed the assignment correctly.
Guided Walkthrough:
Following each assignment is a step-by-step walkthrough with screenshots and expected outputs. If you get stuck on the assignment, the walkthrough provides the exact commands and configurations needed.
Lab Environment Recommendations:
- Use a dedicated GitHub Enterprise Cloud trial for labs. Do not practice on production environments.
- For identity labs (Chapters 2-3), a free-tier Entra ID (Azure AD) tenant works well as a test IdP.
- For Actions labs (Chapter 12), a small VM or container can serve as a self-hosted runner.
- For Copilot labs (Chapters 4-5, 13-15), you will need active Copilot licenses on your test accounts.
Acknowledgments
[Acknowledgments to be added prior to publication.]
Let's Begin
GitHub administration is a discipline that rewards both depth of knowledge and breadth of experience. This book aims to give you both. Whether you are setting up your first enterprise account or preparing for certification, the path forward starts with Chapter 1.
Turn the page, and let's build something together.