1. Understand Git and GitHub basics (25-30%)
Covers version control, Git versus GitHub, commits and branches, accounts and organizations, GitHub Flow, Markdown, and GitHub Desktop and Mobile.
GitHub Foundations · GH-900 · Skills outline of January 2026 · Official skills outline · Original practice content
GH-900 is the GitHub Foundations exam: 60 scored multiple-choice questions in 100 minutes, $99, with a passing score of 700. It covers Git basics, repositories, collaboration, GitHub Actions, Copilot and Codespaces, Projects, security and the open-source community, for developers and non-developers alike. Practice with 300 original questions written to GitHub's seven domains as rewritten in January 2026, each with the correct answer and an explanation.
GH-900 has 60 scored multiple-choice questions (plus about 10-15 unscored ones) in 100 minutes, costs $99 USD, needs a scaled 700 to pass, and the certification does not expire.
Take the 10-question GH-900 quick-start test · Create a free account
Seven domains from the January 2026 outline: Git and GitHub basics (25-30%, the largest), repositories, collaboration, modern development practices and security and administration (10-15% each), and project management and the GitHub community (5-10% each). Expect questions on commits and branches, GitHub Flow, README and CODEOWNERS files, issues and pull requests, Actions, Copilot plans, Codespaces, Projects, 2FA, roles, branch protection, forks and InnerSource.
Sources: Microsoft Learn: GH-900 study guide; GitHub Learn: certifications and FAQ.
A 60-question FlashGenius mock exam samples each domain at its official weight.
| Domain | Weight | Questions in a 60-question mock |
|---|---|---|
| Understand Git and GitHub basics | 25-30% | 15 |
| Work with GitHub repositories | 10-15% | 6 |
| Collaborate using GitHub | 10-15% | 9 |
| Apply modern development practices | 10-15% | 9 |
| Manage projects with GitHub | 5-10% | 6 |
| Understand privacy, security, and administration | 10-15% | 9 |
| Explore the GitHub community | 5-10% | 6 |
Covers version control, Git versus GitHub, commits and branches, accounts and organizations, GitHub Flow, Markdown, and GitHub Desktop and Mobile.
Covers repository files (README, LICENSE, CONTRIBUTING, CODEOWNERS, SECURITY), templates and branches, managing files, insights and repository maintenance.
Covers issues, pull requests and discussions, linking pull requests to issues, templates and assignments, notifications, and Gists, wikis and GitHub Pages.
Covers GitHub Actions, GitHub Copilot and its plans, Copilot agents and agent mode, Codespaces and dev containers, and the github.dev editor.
Covers GitHub Projects and layouts, labels, milestones and workflows, saved replies and assignees, and project insights.
Covers 2FA and passkeys, repository and organization roles, Enterprise Managed Users, Copilot policies, visibility settings, branch protection, and teams.
Practice Understand privacy, security, and administration questions
Covers open source and GitHub Sponsors, following users and organizations, GitHub Marketplace, InnerSource, and forks, templates and discoverable repositories.
GitHub designed GitHub Foundations for non-developers, developers and anyone who uses GitHub. It tests how GitHub works and how teams use it, not programming.
| Who | What the exam asks you to know |
|---|---|
| Students and new developers | commits, branches and GitHub Flow, and the files every repository should have |
| Project and product managers | issues, Projects layouts, labels, milestones and how to track progress |
| Technical writers and designers | Markdown, wikis, GitHub Pages, discussions and reviewing pull requests |
| IT and admin staff | organizations, teams and roles, 2FA and passkeys, Enterprise Managed Users and Copilot policies |
| Open-source contributors | forks, licenses, CONTRIBUTING files, Sponsors and InnerSource |
| People heading to GH-300 or other GitHub exams | the platform base the Copilot, Actions, Administration and Advanced Security exams assume |
Understand Git and GitHub basics
A small marketing team emails copies of a shared web page file back and forth. Nobody can tell which copy is current or who changed a headline last week. Which benefit of version control most directly solves this?
Correct answer: B. A recorded history of every change, showing who made it and when
B is correct because version control keeps one history of the project in which each change is recorded with its author and time, so the team can see the current version and who changed the headline. A is incorrect because a shared folder shows the newest file but keeps no record of who changed what or when. C is incorrect because locking only stops people editing at the same time; it does not show which version is current or who made a change. D is incorrect because backups capture the files at set times and do not record each individual change or its author. Skills measured: Understand Git and GitHub basics > Version control fundamentals.
Understand Git and GitHub basics
A developer deletes a function, commits the change and a week later learns the function was still needed. The project uses Git. What is the simplest way to get the function back?
Correct answer: B. Recover the earlier version of the file from the project history
B is correct because version control lets any earlier version of the project be recovered, so the function can be restored from a commit made before it was deleted. A is incorrect because an editor's undo history is not a reliable record across days and sessions, while the commit history is kept permanently. C is incorrect because a commit adds a new snapshot to the history and does not overwrite the earlier ones. D is incorrect because the team's own commit history already holds the earlier version, so no support request is needed. Skills measured: Understand Git and GitHub basics > Version control fundamentals.
Work with GitHub repositories
A volunteer group publishes a small budgeting tool on GitHub. Visitors keep asking what the tool does and how to install it. Which file should the group add so this information appears on the repository's main page?
Correct answer: A. A README file
A is correct because GitHub automatically displays a README on the repository's main page, so it is the place to explain what the project does and how to get started. B is incorrect because CODEOWNERS names who is responsible for reviewing parts of the code and is not shown to visitors as an introduction. C is incorrect because a CONTRIBUTING file explains how people can contribute to the project, not what the tool does for visitors. D is incorrect because a LICENSE file states the terms under which others may use and share the code, not how to install it. Skills measured: Work with GitHub repositories > Repository management.
Work with GitHub repositories
A student shares a public repository of class projects but never adds a license. Which statement about this repository is true?
Correct answer: B. Default copyright law applies, so the student keeps all rights and others may not reuse or redistribute the code.
B is correct because with no license, default copyright law applies and the author retains all rights, so others may not reproduce, distribute or create derivative works. A is incorrect because being public lets GitHub users view and fork the repository under the Terms of Service, but it does not grant rights to reuse or redistribute the code. C is incorrect because GitHub's Terms of Service let other users view and fork any public repository, license or not. D is incorrect because GitHub does not apply any license automatically; without a license file, default copyright law applies. Skills measured: Work with GitHub repositories > Repository management.
Collaborate using GitHub
A tester finds that the export button in a team's web app produces an empty file. She wants the problem recorded so it can be assigned, tracked and closed when fixed. What should she create in the repository?
Correct answer: B. An issue describing the bug
B is correct because issues track ideas, feedback, tasks and bugs, and they can be assigned, labeled and closed when the work is done. A is incorrect because discussions are for open-ended conversation, not for tracking a specific bug through to a fix. C is incorrect because a wiki holds long-form documentation and cannot be assigned or closed like a tracked work item. D is incorrect because a pull request proposes code changes for review; the tester has no fix to propose yet. Skills measured: Collaborate using GitHub > Collaboration tools.
Collaborate using GitHub
The maintainers of a note-taking app want a place where users can ask open-ended questions, share ideas and talk with each other, separate from the bug tracker. Which GitHub feature fits best?
Correct answer: D. GitHub Discussions for the repository
D is correct because Discussions are for open-ended conversations, questions, ideas and announcements, which keeps them apart from actionable issues. A is incorrect because review comments are tied to proposed code changes, not general community conversation. B is incorrect because a gist shares snippets or files and gives the community no organized place for threads and replies. C is incorrect because issues are meant for actionable work; using them for open conversation mixes chat into the bug tracker. Skills measured: Collaborate using GitHub > Collaboration tools.
Apply modern development practices
A small nonprofit's web team wants its test suite to run automatically every time someone pushes new commits to a pull request, with the result shown on the pull request. Which GitHub feature should the team set up?
Correct answer: D. A GitHub Actions workflow triggered by pull requests
D is correct because GitHub Actions runs workflows when repository events happen, such as pushes to a pull request, and reports the results as checks on that pull request. A is incorrect because project built-in workflows update project fields such as Status; they cannot run code or tests. B is incorrect because a dev container configures a cloud development environment for a person to work in; it does not run tests on its own when commits are pushed. C is incorrect because Copilot code review reads the changes and suggests improvements, but it does not execute the project's test suite. Skills measured: Apply modern development practices > Automation and AI tools.
Apply modern development practices
A developer is adding her first GitHub Actions workflow to a repository. She should save the workflow's YAML file in the ___.
Correct answer: A. .github/workflows directory of the repository
A is correct because GitHub Actions looks for workflow files written in YAML in the .github/workflows directory, and a repository can hold several workflows there. B is incorrect because workflows are YAML files in .github/workflows; GitHub does not read a JSON file in the root folder as a workflow. C is incorrect because that directory holds issue templates and issue forms, which shape new issues rather than automate anything. D is incorrect because the .devcontainer directory holds the dev container configuration used by Codespaces, not workflow definitions. Skills measured: Apply modern development practices > Automation and AI tools.
Manage projects with GitHub
A program manager at a school district wants to see the team's project items laid out on a timeline by their start and target dates so she can spot overlapping work. Which project layout should she use?
Correct answer: B. Roadmap
B is correct because the roadmap layout shows project items on a timeline using date or iteration fields, which makes overlaps between scheduled items easy to see. A is incorrect because insights charts summarize counts and trends of items; they are not a project layout that places items on a timeline. C is incorrect because the table layout is a high-density spreadsheet-style grid of items and fields, not a timeline view. D is incorrect because the board layout shows items as cards in columns, such as by Status, not along a timeline of dates. Skills measured: Manage projects with GitHub > Project tracking and organization.
Manage projects with GitHub
In GitHub Projects, the ___ layout shows items as cards in columns based on a field such as Status, in a kanban style.
Correct answer: A. board
A is correct because the board layout spreads items across columns by a field such as Status, the familiar kanban view. B is incorrect because a milestone is a way to group issues and pull requests in a repository, not a project layout. C is incorrect because the roadmap layout places items on a timeline by date or iteration. D is incorrect because the table layout shows items as rows in a spreadsheet-like grid with fields as columns. Skills measured: Manage projects with GitHub > Project tracking and organization.
Understand privacy, security, and administration
A volunteer who has started publishing releases of a small library is told by GitHub that she must enable two-factor authentication. She asks which method GitHub recommends as her primary 2FA method. What should she choose?
Correct answer: A. A time-based one-time password (TOTP) authenticator app
A is correct because GitHub recommends a TOTP app as the primary 2FA method, with passkeys, security keys or GitHub Mobile added as backups. B is incorrect because GitHub does not support passkeys as the primary 2FA method; a passkey can be added only as a backup. C is incorrect because GitHub does not support security keys as the primary 2FA method; they are recommended as a backup. D is incorrect because SMS is supported but GitHub notes it carries risks, so it is not the recommended primary method. Skills measured: Understand privacy, security, and administration > Security and access management.
Understand privacy, security, and administration
A designer has 2FA set up with an authenticator app and adds a passkey to his GitHub account. The next time he signs in on GitHub.com, he chooses the passkey. What does the passkey sign-in cover?
Correct answer: A. Both the password and the 2FA requirement, in one step
A is correct because a passkey satisfies both the password and the two-factor requirement at sign-in, so no separate authenticator code is needed. B is incorrect because passkeys can be used to sign in, and they can also be used for sudo mode and password reset. C is incorrect because a passkey sign-in satisfies the 2FA requirement as well as the password, so no extra code is requested. D is incorrect because a passkey replaces the password too; it is not just a second factor entered after the password. Skills measured: Understand privacy, security, and administration > Security and access management.
Explore the GitHub community
A volunteer maintains a popular open-source command-line tool in her spare time. Users want a simple way to give her recurring financial support through GitHub. What should she set up?
Correct answer: C. A GitHub Sponsors profile with sponsorship tiers
C is correct because GitHub Sponsors lets the community fund open-source contributors directly, with monthly or one-time sponsorship tiers. A is incorrect because Pages publishes a website from a repository; it does not handle any payments or sponsorships. B is incorrect because Marketplace paid plans are only for apps owned by organizations, and it sells tools rather than funding a maintainer. D is incorrect because Discussions hosts conversations; it has no way to collect or pay out money to a maintainer. Skills measured: Explore the GitHub community > Open-source engagement.
Explore the GitHub community
A developer sponsors an open-source maintainer through GitHub Sponsors from his personal account. How much of his sponsorship reaches the maintainer?
Correct answer: D. All of it, because GitHub takes no fee on personal sponsorships
D is correct because sponsorships from personal accounts carry no fees, so 100 percent of the money goes to the sponsored developer. A is incorrect because sponsorships go to the maintainer as they are made; GitHub does not hold them back for an annual payout. B is incorrect because the card processing fee applies to sponsorships from organizations, not from personal accounts. C is incorrect because the GitHub service fee applies only to sponsorships made by organizations. Skills measured: Explore the GitHub community > Open-source engagement.
The exam was rewritten in January 2026. Study from the current outline and GitHub's Foundations learning path, not older guides.
Take the 10-question quick start to see where you stand across all seven domains.
Git and GitHub basics is 25-30% of the exam. Then work through repositories, collaboration, modern development and security, which are 10-15% each.
Take timed 60-question mocks in 100 minutes and review every explanation, including for questions you got right.
GitHub Foundations is the starting exam. The GitHub Copilot exam goes deep on one product.
| GH-900 GitHub Foundations | GH-300 GitHub Copilot | |
|---|---|---|
| Level | Beginner | Intermediate |
| Who it is for | Developers, non-developers and anyone who uses GitHub | Developers, admins and managers who use or roll out Copilot |
| Focus | Git, repositories, collaboration, Actions, Copilot basics, Projects, security and community | Copilot features, responsible AI, data handling, prompting, productivity and privacy settings |
| Format | 60 scored questions, 100 minutes, $99 | 60 scored questions, 100 minutes, $99 |
| Validity | Does not expire | Expires and must be renewed |
These terms come up across the seven domains. Each is defined from GitHub Docs.
| Term | What it means |
|---|---|
| Repository | A project's files and their full history, plus GitHub features such as issues and pull requests. |
| Commit | A saved snapshot of changes in Git, with a message and an author. |
| Branch | A separate line of work. You change files on a branch, then merge it back. |
| Pull request | A GitHub proposal to merge one branch into another, with review, comments and checks. |
| GitHub Flow | Create a branch, make commits, open a pull request, review, then merge and delete the branch. |
| Fork | Your own copy of someone else's repository, used to propose changes back to it. |
| CODEOWNERS | A file that names the people or teams who are automatically asked to review changes to certain paths. |
| GitHub Actions | GitHub's automation: workflows that run on events such as a push or a pull request. |
| Codespaces | A cloud development environment in a container; github.dev is a lighter editor in the browser with no terminal. |
Last reviewed December 5, 2026 against: Microsoft Learn: GH-900 study guide; GitHub Learn: certifications and FAQ.
GH-900 is GitHub's entry-level certification exam. It tests foundational knowledge of Git and GitHub: repositories, collaboration, modern development practices, project management, security and administration, and the open-source community.
GitHub says its certification exams have 60 scored multiple-choice questions plus about 10-15 unscored pretest items, and you get 100 minutes.
700 or higher on a scale of 1-1000. That is a scaled score, not 70% correct. FlashGenius mocks use 70% as a practice target.
$99 USD. GitHub notes that regional pricing may apply depending on your country.
The exam costs $99 USD, with regional pricing in some countries. Verified GitHub Student Developer Pack students can earn one free voucher through the DataCamp GitHub Foundations path, while supplies last, and the voucher works for GH-900 or GH-300.
Yes. Pearson VUE proctors it online or at a test center, in English, Spanish, Portuguese (Brazil), Korean or Japanese. It is closed book.
No. GitHub Foundations follows Microsoft's policy for fundamentals-level exams, so it does not expire and has no renewal.
It is a beginner exam, but it covers a lot of ground, including Actions, Copilot, Codespaces, Projects and organization security, not only Git. People who use GitHub daily often miss questions on features they never touch, such as Enterprise Managed Users or project insights.
No. GitHub designed the exam for non-developers as well as developers. You need to know how Git and GitHub work, not a programming language.
Microsoft says the exam changed significantly in January 2026: objectives were added, removed, moved between domains and reworded. The current outline includes topics such as Copilot agents and agent mode, passkeys, Enterprise Managed Users and Copilot policy management, so study from it rather than older guides.
Wait 24 hours before your first retake and 14 days before each retake after that, with up to 5 attempts in a year.
No. These are original practice questions written for FlashGenius against the published GH-900 skills outline. They are not copied from the exam, and FlashGenius is not affiliated with GitHub.
Yes. You can review the sample questions on this page, take the 10-question quick start and practice each domain without paying. The full 300-question bank and timed mock exams are part of FlashGenius Premium.
GH-900 practice test hub · Mixed quick start · GH-300 GitHub Copilot practice test · AI-901 Azure AI Fundamentals practice test · AZ-900 Azure Fundamentals practice test
FlashGenius is an independent study resource and is not affiliated with or endorsed by GitHub or Microsoft. GitHub is a trademark of GitHub, Inc. 300 original practice questions.