Guides1 / 7

GH-900 playground

Understand Git And GitHub Basics

25–30%
5 min readYou are 0% through this guide

GH-900 Study Guide

Markdown-only workbook for Exam GH-900: GitHub Foundations.

Last updated: August 2026. All content is sourced directly from official GitHub and Microsoft documentation.


1. Exam Map And Study Model

The exam domains:

DomainWeightWhat it means in practice
Understand Git and GitHub basics25–30%Version control concepts, Git vs GitHub, GitHub Flow, Markdown, accounts
Work with GitHub repositories10–15%Repo structure, key files, branches, templates, maintenance
Collaborate using GitHub10–15%Issues, PRs, discussions, notifications, Gists, Wikis, Pages
Apply modern development practices10–15%GitHub Actions, Copilot, Codespaces, github.dev editor
Manage projects with GitHub5–10%Projects, labels, milestones, workflows, insights
Understand privacy, security, and administration10–15%2FA, roles, branch protection, EMUs, org settings
Explore the GitHub community5–10%Open source, GitHub Sponsors, Marketplace, InnerSource, forks

The key is not just knowing definitions. GH-900 expects you to recognize how GitHub features work in practice:

ConceptWhat to recognize
RepositoryDefault branch, README, LICENSE, CONTRIBUTING, CODEOWNERS, SECURITY
BranchFeature branch off main, protected branch rules
CommitSnapshot of changes with a message
Pull RequestProposed change from branch to base, linked to issues
IssueTask, bug, feature request — the unit of work
GitHub FlowBranch → commit → PR → review → merge
GitHub ActionsWorkflow YAML in .github/workflows/, triggers, jobs, steps
CopilotAI code suggestions, Agent Mode, multi-model support
CodespacesCloud-based dev environment, dev containers
ProjectsKanban-style boards for tracking issues and PRs

2. Domain 1: Understand Git And GitHub Basics (25–30%)

What This Domain Tests

The largest domain. It tests whether you understand version control fundamentals, the difference between Git and GitHub, and how GitHub Flow works in practice. Do not skip this — it is a quarter of the exam.

Version Control Fundamentals

Version control tracks changes to files over time. It lets you:

  • Recover previous versions of a file or project.
  • Work in parallel with others without overwriting their changes.
  • Know who changed what, when, and why.

Git is a distributed version control system. Every developer has a full copy of the repository history locally.

GitHub is a cloud platform built on top of Git. It adds:

  • Remote repository hosting.
  • Collaboration tools (issues, pull requests, discussions).
  • Automation (Actions).
  • Security scanning.
  • Project management.

Key distinction:

GitGitHub
Command-line toolCloud platform
Runs locallyRuns in the browser and cloud
Manages versionsAdds collaboration, automation, security
Free, open sourceFree tier + paid plans

Core Git Concepts

Repository: A directory tracked by Git. Contains all files and the full history of every change.

Commit: A snapshot of changes at a point in time. Every commit has:

  • A unique SHA hash.
  • A commit message describing the change.
  • An author and timestamp.

Branch: A pointer to a specific commit. Lets you work on changes without touching the main codebase.

main ──── A ──── B ──── C
                  \
feature-branch     D ──── E

Merge: Combining changes from one branch into another. Happens through a pull request on GitHub.

Clone: Copying a remote repository to your local machine.

Fork: Copying someone else's repository to your own GitHub account so you can propose changes.

Pull: Fetching and merging changes from a remote repository into your local branch.

Push: Sending your local commits to the remote repository.

GitHub Accounts And Organizations

Account typeDescription
Personal accountIndividual GitHub user. Owns repositories.
Organization accountShared account for teams. Owns repos, manages members and billing.
Enterprise accountCentrally manages multiple organizations. Used by large companies.

GitHub Flow

GitHub Flow is the core collaboration model. It has six steps:

  1. Create a branch from main.
  2. Make commits on the branch.
  3. Open a pull request.
  4. Review and discuss the PR.
  5. Merge the PR into main.
  6. Delete the branch.

What to notice:

  • Work always happens on a branch, never directly on main.
  • The PR is the review and discussion point.
  • Merge is the final step after approval.

Markdown

Markdown is used throughout GitHub for:

  • README files.
  • Issue descriptions and comments.
  • Pull request descriptions.
  • Discussions.
  • Wiki pages.

Key Markdown syntax you should recognize:

# Heading 1
## Heading 2

**bold text**
_italic text_

- bullet item

1. numbered item

[link text](https://example.com)

`inline code`

> blockquote

Task list syntax (used in issues and PRs):

- [x] completed task
- [ ] incomplete task

GitHub Desktop And GitHub Mobile

ToolUse when
GitHub DesktopGUI for Git on Mac or Windows. No command line needed. Commit, push, pull, branch.
GitHub MobileReview and merge PRs on mobile. Triage issues. Notifications. Cannot replace full desktop workflow.

Domain 1 Traps

  • Git and GitHub are not the same thing.
  • A fork is not the same as a clone. Fork = copy to your GitHub account. Clone = copy to your local machine.
  • Committing to main directly is not GitHub Flow.
  • A commit message is not optional — it is the record of why a change was made.

Checkpoint

Lock it in.

1 of 3

Fork vs clone — what's the difference?