Git gave BookNest a history on your own disk. This chapter puts it on GitHub 29 , where other people can find it, file issues, propose changes through pull requests, and where every push is built and tested by machines you never administer. Git 1,932 is the version-control tool; GitHub is a hosting service built around it that adds accounts, permissions, code review, project tracking, continuous integration (GitHub Actions 29 ), package registries, security scanning and an API for all of it. Git itself stays in Git.
Every command was run for real against GitHub.com with gh 2.101.0 29 and Git 2.55.0 in Ubuntu 26.04 225 under WSL2 6 . The example account is a real personal account, binarybehemoth, and BookNest's repository is the public github.com/binarybehemoth/booknest (https://github.com/binarybehemoth/booknest); substitute your own username. The account belongs to no organization, so organization, team and organization-wide steps are shown from GitHub's documentation and labeled "not run here". Tokens never appear in output; where one would, you see <redacted>.
Accounts and Teams to Forks and Community cover accounts, authentication, the repository and collaboration. Inside an Actions Job to Self-Hosted and Pricing teach GitHub Actions in depth, ending in a pipeline that tests and builds BookNest on every pull request and that Docker extends with a container build. The chapter closes with packages, Pages, security, the APIs, Codespaces 29 , Copilot 29 and GitHub's alternatives.
What you will learn:
Accounts, organizations, teams, roles and enterprise single sign-on
SSH keys, fine-grained tokens, Git Credential Manager 9,326 and the gh CLI
Issues, Projects, pull requests, rulesets, CODEOWNERS and merge queues
GitHub Actions: events, matrices, caching, secrets, environments, reusable workflows and OIDC
Self-hosted runners, act 72,126 , and what Actions costs in 2026
Packages, Pages, Dependabot 29 , secret scanning, CodeQL 29 , the APIs and webhooks
Sections
- Accounts and Teams
- Keys, Tokens and gh
- Creating the Repository
- Issues and Projects
- Pull Requests and Code Review
- Protection and Merge Queues
- Forks and Community
- Inside an Actions Job
- Workflow Fundamentals
- Matrices and Caching
- Secrets and Environments
- Reuse and OIDC
- Self-Hosted and Pricing
- Packages, GHCR and Pages
- Securing the Repository
- APIs and Webhooks
- Codespaces and Copilot
- GitHub and Its Alternatives
- Test Yourself!