GitHub Foundations · GH-900 · Skills outline of January 2026 · Official skills outline · Original practice content

GH-900 quick-start practice test

Reviewed by the FlashGenius certification content team · Last updated: December 5, 2026 · Aligned to the published GH-900 skills outline and weights

A short mixed set from all seven GitHub Foundations domains, from commits and branches to pull requests, Actions, Copilot and repository security.

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

What this GH-900 quick start covers

The quick start draws questions from every GH-900 exam domain, so one short session shows where you are strong and where to focus. The real exam is weighted as follows:

After you finish, review every explanation, including for the questions you answered correctly, then practice the domains where you missed the most.

GH-900 quick-start sample questions with answers

Understand Git and GitHub basics

Sample question 1

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?

  1. A shared folder that always holds the latest copy of each file
  2. A recorded history of every change, showing who made it and when
  3. File locking so that one person at a time can open each file
  4. Nightly backups that can restore the files from the previous day
Show correct answer and explanation

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.

Work with GitHub repositories

Sample question 2

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?

  1. A README file
  2. A CODEOWNERS file
  3. A CONTRIBUTING file
  4. A LICENSE file
Show correct answer and explanation

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.

Collaborate using GitHub

Sample question 3

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?

  1. A discussion in the general category
  2. An issue describing the bug
  3. A wiki page listing known bugs
  4. A pull request describing the bug
Show correct answer and explanation

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.

Apply modern development practices

Sample question 4

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?

  1. A built-in workflow in the team's GitHub project board
  2. A GitHub Codespaces dev container for the repository
  3. Copilot code review requested on every pull request
  4. A GitHub Actions workflow triggered by pull requests
Show correct answer and explanation

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.

Manage projects with GitHub

Sample question 5

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?

  1. Insights chart
  2. Roadmap
  3. Table
  4. Board
Show correct answer and explanation

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.

Understand privacy, security, and administration

Sample question 6

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?

  1. A time-based one-time password (TOTP) authenticator app
  2. A passkey saved in her password manager
  3. A hardware security key plugged into her laptop
  4. Text message (SMS) codes sent to her mobile number
Show correct answer and explanation

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.

Explore the GitHub community

Sample question 7

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?

  1. A GitHub Pages site that lists her repositories
  2. A paid listing for the tool in GitHub Marketplace
  3. A GitHub Sponsors profile with sponsorship tiers
  4. A Discussions category where users can pledge support
Show correct answer and explanation

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.

Understand Git and GitHub basics

Sample question 8

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?

  1. Use the code editor's undo history from the previous week
  2. Recover the earlier version of the file from the project history
  3. Rewrite the function from memory, since commits replace old versions
  4. Ask GitHub support to restore the file from their server backups
Show correct answer and explanation

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

Sample question 9

A student shares a public repository of class projects but never adds a license. Which statement about this repository is true?

  1. Because the repository is public, anyone may freely copy, change and redistribute the code for any purpose.
  2. Default copyright law applies, so the student keeps all rights and others may not reuse or redistribute the code.
  3. Other GitHub users are not allowed to view or fork the repository until a LICENSE file is added.
  4. GitHub automatically applies the MIT License to public repositories that do not include a LICENSE file.
Show correct answer and explanation

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

Sample question 10

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?

  1. Pull request review comments
  2. A secret gist shared with users
  3. Issues with a question label
  4. GitHub Discussions for the repository
Show correct answer and explanation

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.

Keep practicing

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.