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

This page shows free preview questions 6–10.

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 6

What is the difference between Git and GitHub?

  1. A. Git is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on Git repositories.
  2. B. Git and GitHub are different names for the same tool that is used for version control and collaboration.
  3. C. Git is a cloud-based hosting service, while GitHub is a distributed version control system.
  4. D. Git is a centralized version control system, while GitHub is a cloud-based collaboration platform
Show answer and explanation

Answer

A

Explanation

Git is the distributed version control tool; GitHub is the hosting and collaboration platform built around Git repositories.

Question 7

What type of operations has Git been optimized for?

  1. A. local file manipulation and offline work
  2. B. remote collaboration and real-time editing
  3. C. cloud-based operations and synchronization
  4. D. web development and browser-based coding
Show answer and explanation

Answer

A

Explanation

Git is optimized for fast local operations and offline work, with synchronization to remotes when needed.

Question 8

Which version control system is GitHub built on top of?

  1. A. Subversion
  2. B. Mercurial
  3. C. Git
  4. D. Perforce
Show answer and explanation

Answer

C

Explanation

GitHub is a platform for hosting and collaborating on Git repositories, which use Git as the underlying VCS.

Question 9

What command should you type to create and switch over to a new branch?

  1. A. git checkout -n newBranchName
  2. B. git checkout -b newBranchName
  3. C. git checkout newBranchName
  4. D. git branch newBranchName
Show answer and explanation

Answer

B

Explanation

git checkout -b newBranchName creates a new branch and switches to it in one command.

Question 10

The difference between GitHub Enterprise Server (GHES) and GitHub Enterprise Cloud is that GHES:

  1. A. includes authentication with SAML single sign-on and access provisioning with SAML or SCIM.
  2. B. can be deployed on both Windows and Linux.
  3. C. cannot enable rate limiting.
  4. D. is a self-hosted solution that allows organizations to have full control over their infrastructure.
Show answer and explanation

Answer

D

Explanation

GitHub Enterprise Server is self-hosted, giving organizations full control over their infrastructure and deployment.

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