Summer Certification Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Free Practice Questions for the Microsoft GitHub Administrator GH-900 Exam (2026 Updated)

At Marks4sure, we are dedicated to providing IT professionals with the most accurate and reliable preparation materials for the Microsoft GH-900 exam. To support your certification journey, we have made a selection of our premium 2026 GitHub Administrator practice questions and answers available completely free. You can take this practice test as many times as you need. Every question includes a detailed, expertly verified explanation to ensure you fully grasp the core security concepts before test day.

Questions 4

What are three valid states for a file in a git repository?

(Each correct answer presents part of the solution. Choose three.)

Options:

A.

Committed

B.

Modified

C.

Uncommitted

D.

Staged

E.

Tracked

Buy Now
Questions 5

Which of the following are advantages of saved replies?

(Each correct answer presents part of the solution. Choose two.)

Options:

A.

Saved replies are tied to a GitHub user ' s personal account.

B.

Saved replies are allocated at the enterprise level for all users.

C.

Saved replies allow you to create a reusable response to issues and pull requests.

D.

Saved replies will send auto notifications when a user is tagged to an issue.

Buy Now
Questions 6

Which three files can a user automatically add while creating a new repository?

Options:

A.

README, -git, and DOCS

B.

LICENSE, .git, and README

C.

README, .gitignore, and LICENSE

D.

LICENSE, DOCS, and .gitignore

Buy Now
Questions 7

Which of the following best describes GitHub flow?

Options:

A.

A branching model that uses feature branches and multiple primary branches

B.

A strategy where separate branches are created for each release, and pull requests are used to collaborate on and approve releases

C.

A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging

D.

A strict workflow that enforces a linear development process with all changes made directly on the main branch

Buy Now
Questions 8

What happens when you link an issue to a pull request?

Options:

A.

A reference to the pull request is added to the issue ' s timeline

B.

The issue is locked for further comments

C.

The pull request is automatically approved

D.

The pull request is added to the repository ' s project board

E.

The issue is automatically closed when the pull request is merged

Buy Now
Questions 9

What happens when you assign multiple collaborators to an issue or pull request?

Options:

A.

The issue or pull request is automatically marked as “In Progress.”

B.

The issue or pull request is locked for editing by others.

C.

Only the first collaborator is notified.

D.

All assigned collaborators are notified and share responsibility.

Buy Now
Questions 10

What is defined as software that can be freely used, modified, and shared by anyone?

Options:

A.

proprietary

B.

open source

C.

free source

D.

Innersource

Buy Now
Questions 11

Which version control system is GitHub built on top of?

Options:

A.

Mercurial

B.

Perforce

C.

Subversion

D.

Git

Buy Now
Questions 12

What is a benefit of using GitHub Enterprise Cloud with Enterprise Managed Users (EMU)?

Options:

A.

It provides centralized control and streamlined management of user accounts through their identity provider (IdP).

B.

It offers additional collaboration and content creation capabilities for managed user accounts.

C.

It automatically validates user interactions using the identity provider (IdP) conditional access policy (CAP).

D.

It enables GitHub user accounts access to protected resources using SAML SSO.

Buy Now
Questions 13

Which action can you perform using the text formatting toolbar when writing a comment on GitHub?

Options:

A.

Merge branches

B.

Assign an issue

C.

Schedule a pull request

D.

Add a list

Buy Now
Questions 14

What is a primary goal of InnerSource that differentiates it from open source?

Options:

A.

To enforce strict repository rulesets for all contributors.

B.

To provide internal visibility and reduce friction for employees working on company projects.

C.

To make all company projects public for external contributions.

D.

To eliminate the need for pull requests in collaborative projects.

Buy Now
Questions 15

What are two recommended ways of improving the discoverability of a repository?

(Each answer presents a complete solution. Choose two.)

Options:

A.

Register the repository with GitHub search.

B.

Create a README file describing the repository.

C.

Add labels to categorize the repository.

D.

Add topics to classify the repository.

Buy Now
Questions 16

Which three of the following types of sensitive information can GitHub Secret Scanning detect? Each answer presents a complete solution.

Options:

A.

Passwords

B.

SSH private keys

C.

Hardcoded email addresses

D.

Code formatting issues

E.

API keys

F.

Database connection strings

Buy Now
Questions 17

Which of the following can be performed within GitHub Desktop?

Options:

A.

Creating and managing issues

B.

Reviewing and approving pull requests

C.

Adding and cloning repositories

D.

Commenting on discussions

E.

Integrating with office suite software

Buy Now
Questions 18

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

Options:

A.

cannot enable rate limiting.

B.

includes authentication with SAML single sign-on and access provisioning with SAML or SCIM.

C.

can be deployed on both Windows and Linux.

D.

is a self-hosted solution that allows organizations to have full control over their infrastructure.

Buy Now
Questions 19

Which three of the following features are available with GitHub Mobile? Each answer presents a complete solution.

Options:

A.

Edit files in pull requests

B.

Compare changed images to visually review updates

C.

Manage, triage, and clear notifications from github.com

D.

Add changes to your commit interactively

E.

Schedule push notifications for specific custom hours

Buy Now
Questions 20

What features are offered by Copilot for Business that are not offered by Copilot for individuals?

(Each answer presents a complete solution. Choose three.)

Options:

A.

Offers multi-line function suggestions

B.

Organization-wide policy management

C.

Blocks suggestions matching public code

D.

VPN proxy support via self-signed certificates

E.

Support for organization or enterprise GitHub accounts

F.

Plugs directly into the editor

Buy Now
Questions 21

Which of the following describes a branch in Git?

Options:

A.

A pointer to an identical snapshot of the project at a specific point in time

B.

A physical copy of the entire project stored on disk

C.

A separate, isolated copy of the project ' s codebase

D.

A new repository that shares code with the original " upstream " repository

Buy Now
Questions 22

Which of the following two-factor authentication (2FA) methods can you use to secure a GitHub account?

(Each answer presents a complete solution. Choose three.)

Options:

A.

Authenticator app

B.

Security questions

C.

GitHub mobile

D.

Security keys

E.

Single sign-on

Buy Now
Questions 23

When making comments in GitHub, the supported text language is:

Options:

A.

CSS.

B.

JavaScript.

C.

Markdown

D.

JSON.

E.

XML

own.

Buy Now
Questions 24

What is a Git remote?

Options:

A.

a reference to a repository that is hosted in a separate location

B.

a local copy of the repository stored on a user ' s machine

C.

a branch in the repository where changes are pushed for collaboration

D.

a separate repository for testing before pushing changes to the main repository

Buy Now
Questions 25

Workflows can reference actions in:

(Each correct answer presents a complete solution. Choose three.)

Options:

A.

Any public repository.

B.

The same repository as your workflow file.

C.

GitHub Packages.

D.

An enterprise marketplace.

E.

A published Docker container image on Docker Hub.

Buy Now
Questions 26

What GitHub feature allows the developer community to financially support the people and organizations who maintain the open source projects they depend on?

Options:

A.

GitHub Support

B.

GitHub Sponsors

C.

GitHub Community Exchange

D.

GitHub Discussions

Buy Now
Questions 27

Which of the following is an Innersource development practice?

Options:

A.

Adopting open source code into the organization

B.

Sharing code between teams within the organization

C.

Removing open source code from the organization

D.

Making all repositories publicly accessible

Buy Now
Questions 28

For which of the following does GitHub provide hosted runners?

Options:

A.

AWS, Azure, and GCP

B.

Linux, Windows, and macOS

C.

Kubernetes

D.

Docker

Buy Now
Questions 29

What is the primary goal of GitHub in terms of integrating tools and providing an ecosystem?

Options:

A.

to create a unified, standardized ecosystem for all developers

B.

to bring developers ' preferred tools together in one place

C.

to develop proprietary tools and provide opinionated integration options

D.

to offer a diverse range of tools for specific development needs

Buy Now
Questions 30

Pull requests can only be created between two branches that are:

Options:

A.

Authored by the same user.

B.

Authored by different users.

C.

The same.

D.

Different.

Buy Now
Questions 31

Which of the following is NOT a component of a pull request?

Options:

A.

Compare branch

B.

Pull request description

C.

Repository visibility settings

D.

Base branch

Buy Now
Questions 32

Why is branching a core concept in Git?

Options:

A.

Branching creates physical copies of the project on disk, ensuring data redundancy and backup.

B.

Branching helps in automatically merging changes from different branches into the main branch.

C.

Branching is necessary for organizing files and folders within a Git repository.

D.

Branching creates an isolated environment to try new ideas and make changes without affecting other branches.

Buy Now
Questions 33

Which of the following items can you customize for an individual Codespace?

(Each answer presents a complete solution. Choose three.)

Options:

A.

Shell

B.

Branch protections

C.

Name

D.

Default editor

E.

Operating system

Buy Now
Questions 34

What are the defining features of Git?

Options:

A.

Distributed version control, open source software, and being designed for handling projects of any size with efficiency

B.

Sequential version control, cloud-based hosting service, and being designed for collaboration on large projects

C.

Low-cost local branching, convenient staging areas, multiple workflows, and being designed for managing small projects

D.

Centralized version control, proprietary software, and being designed for small projects

Buy Now
Questions 35

Which of the following two-factor authentication (2FA) methods can you use to secure a GitHub account? (Each answer presents a complete solution. Choose three.)

Options:

A.

single sign-on

B.

authenticator app

C.

GitHub mobile

D.

security keys

E.

security questions

Buy Now
Questions 36

What are the two main reasons why one might fork a repository?

(Each answer presents a complete solution. Choose two.)

Options:

A.

To create an issue or open a discussion

B.

To propose changes to the base repository

C.

To create a new repository based on an existing one

D.

To create a new branch to develop a new feature

Buy Now
Questions 37

Which of the following is always true about the feature preview phases Alpha and Beta?

Options:

A.

Alpha features are not available to the public.

B.

Alpha features are documented.

C.

Alpha and Beta features offer Service Level Agreements (SLAs).

D.

Beta features provide technical support.

Buy Now
Questions 38

What best describes Markdown?

Options:

A.

Markup language

B.

Programming language

C.

Scripting language

D.

Version control system

E.

Containerization solution

Buy Now
Questions 39

How is github.dev different than Codespaces?

Options:

A.

Extensions in the Visual Studio Code Marketplace are supported by github.dev.

B.

Codespaces is available within the web browser.

C.

A free monthly quota for personal accounts is provided by github.dev.

D.

Codespaces provides terminal access.

Buy Now
Questions 40

What are some scenarios that can automatically subscribe you to conversations on GitHub?

(Each answer presents a complete solution. Choose three.)

Options:

A.

Pushing a commit to the default branch

B.

Being added as a repo admin

C.

Opening a pull request or issue

D.

Commenting on a thread

E.

Being assigned to an issue or pull request

Buy Now
Questions 41

What should you append to the link https://github.com/github/docs/ to show who starred that repository?

Options:

A.

stars

B.

stargazers

C.

starviewers

D.

starwatcher

Buy Now
Questions 42

Which of the following outcomes can be achieved with a branch protection rule?

Options:

A.

Require two-factor authentication (2FA) by code contributors.

B.

Require approval before merging changes.

C.

Block code pushes that contain hardcoded secrets.

D.

Restrict who can view the branch.

Buy Now
Questions 43

Which of the following is the purpose of a GitHub repository?

Options:

A.

To provide a folder that stores project files, including documentation, on your local machine

B.

To provide a version control system designed for small projects, offering simple tools for organizing files on your laptop

C.

To provide a cloud-based hosting service for project documentation, providing a secure and centralized location for file storage

D.

To provide a collaborative space where developers can share and manage code files, track changes, and store revision history

Buy Now
Exam Code: GH-900
Exam Name: GitHub Foundations
Last Update: Aug 5, 2026
Questions: 144

PDF + Testing Engine

$64.99   $185.69

Testing Engine

$49.99   $142.83

PDF (Q&A)

$54.99   $157.11