Home / Microsoft / GH-900
Microsoft · GH-900

GH-900 Exam Practice Questions

GitHub Foundations

GH-900 English PDF practice questions: 142 questions with answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.

Exam overview

For beginners learning Git, repositories, branches, pull requests, collaboration and GitHub project workflows.

Exam code
GH-900
Official exam / credential
GitHub Foundations
Exam format
Proctored assessment; interactive items may be included
Exam duration
100 minutes
Official exam languages
English, Spanish, Portuguese (Brazil), Korean, Japanese

Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.

Official sources: Provider reference
Information checked: 2026-10-20

How to prepare for GH-900

Start with the provider’s current objectives as a checklist, then test whether you can explain each topic and apply it in a practical setting. Use the free sample questions as a diagnostic for finding the areas that need review.

  1. Attempt the question before opening its answer and explanation.
  2. For every missed question, verify the underlying concept with official documentation or hands-on practice instead of memorising an answer.
  3. Before booking, recheck the exam code, version and available test languages on the provider’s official page.

View the free sample questions · Build a PDF study plan

Supported languages

  • English
  • Simplified Chinese
Try before you buy

First 20 practice questions

142 total questions

Questions follow the source order. Expand each answer to see its explanation.

Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.

Question 1

Which of the following keywords are used to link a pull request to an issue? (Choose three.)

  1. A. fix
  2. B. resolves
  3. C. merge
  4. D. join
  5. E. closed
  6. F. connects
Show answer and explanation

Answer

ABE

Explanation

Keywords fix, resolves, and closed (also close/fix/resolve variants) link a pull request to an issue and can auto-close the issue when merged into the default branch.

Question 2

Which syntax is used for authoring saved replies?

  1. A. HTML
  2. B. YAML
  3. C. Markup
  4. D. Markdown
Show answer and explanation

Answer

D

Explanation

Saved replies support Markdown formatting, the same lightweight markup used across GitHub comment fields.

Question 3

As a user, what feature can you use to merge proposed changes in a repository on GitHub?

  1. A. discussions
  2. B. projects
  3. C. pull requests
  4. D. issues
Show answer and explanation

Answer

C

Explanation

Pull requests are the GitHub feature for proposing, reviewing, and merging code changes.

Question 4

If there are multiple README files, which of the following locations will be displayed first?

  1. A. docs
  2. B. root
  3. C. src
  4. D. .gitHub
Show answer and explanation

Answer

D

Explanation

When multiple README files exist, GitHub prioritizes README files in the .github directory for repository profile display.

Question 5

Why is branching a core concept in Git?

  1. A. Branching helps in automatically merging changes from different branches into the main branch.
  2. B. Branching creates physical copies of the project on disk, ensuring data redundancy and backup.
  3. C. Branching creates an isolated environment to try new ideas and make changes without affecting other branches.
  4. D. Branching is necessary for organizing files and folders within a Git repository.
Show answer and explanation

Answer

C

Explanation

Branches provide isolated workspaces so you can experiment and make changes without affecting other lines of development.

Downloads and personal use

  • Purchase this exam question set separately with 1, 3, 6 or 12 months of download access.
  • After payment confirmation, My Library shows the generation status. We will email you when your PDF is ready to download.
  • Download again during your term. Purchase a new term after expiry.
  • PDFs are licensed for personal study only and must not be resold or shared publicly.
  • Files already saved to your device are not remotely deleted when access expires.
How to choose your certification