Pre-Summer Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

GitHub Foundations Question and Answers

GitHub Foundations

Last Update Apr 18, 2026
Total Questions : 124

We are offering FREE GH-900 Microsoft exam questions. All you do is to just go and sign up. Give your details, prepare GH-900 free exam questions and then go for complete pool of GitHub Foundations test questions that will help you more.

GH-900 pdf

GH-900 PDF

$40.25  $114.99
GH-900 Engine

GH-900 Testing Engine

$47.25  $134.99
GH-900 PDF + Engine

GH-900 PDF + Testing Engine

$61.25  $174.99
Questions 1

Which GitHub tools or features is best to quickly modify a batch of files in a repository?

Options:

A.  

Install and use GitHub Mobile.

B.  

Use github.dev from a web browser.

C.  

Install and use GitHub Desktop.

D.  

Install and use the git CLI.

E.  

Create and use a new GitHub Codespace.

Discussion 0
Questions 2

What qualifier finds issues that mention a certain user?

Options:

A.  

mentions:

B.  

Smentioned:

C.  

mentioned:

D.  

threads:

Discussion 0
Questions 3

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.

Discussion 0
Questions 4

An organization in a GitHub enterprise has a base permission of " No permissions. " Which users in this enterprise will be able to see all internal repositories within this organization?

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

Options:

A.  

outside collaborators in the same organization

B.  

outside collaborators with repo Admin access

C.  

members in the same organization

D.  

members in another organization in that enterprise

Discussion 0
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.

Discussion 0
Questions 6

What does a CODEOWNERS file do in a repository?

Options:

A.  

Restricts who can edit specific files

B.  

Requires peer code review for code changes

C.  

Defines access permissions for the repository

D.  

Sets the reviewers for pull requests automatically

Discussion 0
Questions 7

Where should a repository admin navigate to view pre-built visualizations from repository data?

Options:

A.  

Settings

B.  

Issues

C.  

Insights

D.  

Charts

Discussion 0
Questions 8

What is a gist?

Options:

A.  

GitHub app

B.  

Git repository

C.  

Markdown document

D.  

GitHub Pages site

Discussion 0
Questions 9

Which of the following information is available by default in a user ' s GitHub profile?

Options:

A.  

Personal biography and profile picture

B.  

Public Secure Shell Protocol (SSH) keys

C.  

A list of the user ' s private repositories

D.  

Email address and password

Discussion 0
Questions 10

Which mechanisms can you use to personalize Codespaces for your account? (Each correct answer presents part of the solution. Choose two.)

Options:

A.  

devcontainer

B.  

dotfiles

C.  

settings sync

D.  

operating system

E.  

branch protections

F.  

IDE plug-ins

Discussion 0
Questions 11

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.

Discussion 0
Questions 12

What type of operations has Git been optimized for?

Options:

A.  

web development and browser-based coding

B.  

remote collaboration and real-time editing

C.  

local file manipulation and offline work

D.  

cloud-based operations and synchronization

Discussion 0
Questions 13

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

Discussion 0
Questions 14

Which of the following permissions can be enabled or disabled at the enterprise level? (Each answer presents a complete solution. Choose two.)

Options:

A.  

repository visibility change

B.  

repository naming convention

C.  

repository secrets

D.  

repository deletion and transfer

Discussion 0
Questions 15

Which version control system is GitHub built on top of?

Options:

A.  

Mercurial

B.  

Perforce

C.  

Subversion

D.  

Git

Discussion 0
Questions 16

In GitHub, why is it recommended to deploy from your feature branch before merging into the main branch?

Options:

A.  

To directly deploy changes from the main branch without any intermediate testing

B.  

To speed up the process of merging changes into the main branch

C.  

To avoid the need for testing changes in production

D.  

To ensure the changes are verified and validated in a production environment

Discussion 0
Questions 17

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.

Discussion 0
Questions 18

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

Discussion 0
Questions 19

As a user, what feature can you use to add an issue to the top of the Issues page for easier visibility?

Options:

A.  

Star the issue.

B.  

Label the issue.

C.  

Subscribe to the issue.

D.  

Pin the issue.

Discussion 0
Questions 20

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

Discussion 0
Questions 21

Which of the following are available statuses of a pull request?

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

Options:

A.  

Draft

B.  

Closed

C.  

Rebasing

D.  

Merged

E.  

Modified

F.  

Open

Discussion 0
Questions 22

What template types are available when creating an issue template? (Each correct answer presents part of the solution. Choose three.)

Options:

A.  

Feature request

B.  

Custom template

Bug report

C.  

Standard template

D.  

Security notification

Discussion 0
Questions 23

How can a user create a repository template, and what permissions are required?

Options:

A.  

With Admin permissions, navigate to Repository settings and select Template Repository.

B.  

With Maintain permissions, navigate to Organization settings, select the repository, and choose Template Repository.

C.  

With Admin permissions, navigate to Organization settings, select the repository, and choose Template Repository.

D.  

With Maintain permissions, navigate to Repository settings and select Template Repository.

Discussion 0
Questions 24

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

Discussion 0
Questions 25

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

Discussion 0
Questions 26

Which of the following are characteristics of GitHub Teams? (Each answer presents a complete solution. Choose two.)

Options:

A.  

Team visibility can be visible or secret.

B.  

Teams can be nested.

C.  

Teams has a maximum size of 100 users.

D.  

Teams requires access to at least one repository.

Discussion 0
Questions 27

New open source contributors can receive funding from GitHub sponsors:

Options:

A.  

Using PayPal as a payment processor.

B.  

Equal to 95% of the contribution value.

C.  

By including GitHub matching funds.

D.  

After setting up a sponsored developer profile.

Discussion 0
Questions 28

In GitHub flow, what is the primary operation when a pull request is approved?

Options:

A.  

A release issue is created.

B.  

A git tag is created.

C.  

The feature branch is merged.

D.  

The changes are deployed.

Discussion 0
Questions 29

What is the difference between Git and GitHub?

Options:

A.  

Git is a centralized version control system, while GitHub is a cloud-based collaboration platform.

B.  

Git is a cloud-based hosting service, while GitHub is a distributed version control system.

C.  

Git and GitHub are different names for the same tool that is used for version control and collaboration.

D.  

Git is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on Git repositories.

Discussion 0
Questions 30

When using Organizations, GitHub Teams is better than GitHub Free because it offers:

Options:

A.  

Advanced tools and insights in private repositories.

B.  

Authentication with SAML single sign-on and increased GitHub Actions minutes.

C.  

Expanded storage and priority support.

D.  

Increased GitHub Actions minutes and additional GitHub Packages storage.

Discussion 0
Questions 31

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

Discussion 0
Questions 32

After 30 minutes of inactivity, a GitHub Codespace will:

Options:

A.  

Be deleted

B.  

Commit changes

C.  

Restart

D.  

Time out

Discussion 0
Questions 33

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.

Discussion 0
Questions 34

What is the primary purpose of creating a new branch in the GitHub flow?

Options:

A.  

To create a backup of the main branch

B.  

To capture information about an issue

C.  

To experiment with new features or fixes

D.  

To incorporate changes from a review

Discussion 0
Questions 35

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

Options:

A.  

.github

B.  

/src

C.  

Root

D.  

/docs

Discussion 0
Questions 36

As a user, which of the following default labels is used to indicate that a maintainer needs assistance on an issue or pull request?

Options:

A.  

Enhancement

B.  

Question

C.  

Help wanted

D.  

Documentation

Discussion 0
Questions 37

The difference between GitHub Desktop and github.com is that Desktop:

Options:

A.  

Is a standalone software application.

B.  

Enables integration with office suite applications.

C.  

Is only available on Windows operating systems.

D.  

Offers a graphical user interface.

E.  

Is a self-hosted version of GitHub.

Discussion 0