Microsoft GH-900 Exam Questions & Answers (November 2026)
GitHub Foundations exam questions with 20 free practice questions and explained answers. Updated November 25, 2026. · See all Microsoft exams
Answer 20 scenario questions on this page and see your score as you go. No sign-up needed.
Exam Details
- Exam Code
- GH-900
- Vendor
- Microsoft
- Duration (minutes)
- 100
- Passing Score
- 700 or greater
- Languages
- English, Spanish, Portuguese (Brazil), Korean, Japanese
- Delivery
- Proctored; may include interactive components.
- Question Types
- Single ChoiceMultiple Choice
- Official Page
- View Exam Page
Understand Git and GitHub basics
25% - 30% of the examThis topic covers the purpose of version control and the distinct roles of Git and GitHub. Candidates must identify basic Git concepts and recognize common ways people use GitHub and its associated tools.
A software team has developers working from laptops in three offices. They need a record of changes to their code and a shared online location where staff can access the project. A new team member says that installing Git automatically creates a hosted project on GitHub. The team asks you to clarify which tool provides each capability.
Which statement best describes the relationship between Git and GitHub?
Show Answer
Correct Answer
A
Option A is correct because the team can use Git to track changes and GitHub to host and access the Git repository. Option B reverses the roles of the two products. Option C incorrectly limits Git to branches and GitHub to commits. Option D is not correct because Git and GitHub are distinct tools with different purposes.
A small product team uses Git for a desktop application. One developer is preparing a change to the search screen, while another is testing a separate update to the settings screen. They want to keep a record of each saved stage of work and avoid mixing the two lines of development before they are ready. They are deciding which basic Git concepts to use.
A team is preparing two independent changes to a small application. They want to preserve recorded states of the work and keep one change separate while it is being developed. Choose two.
Select 2 answers, then check them.
Show Answer
Correct Answer
A, B
Options A and B are correct because commits record project changes and a branch provides a separate line of development. Option C is not correct because an account identifies a user and does not record project versions. Option D confuses a repository with a single version. Option E is not correct because an issue tracks discussion or work, not committed file versions.
A developer is setting up a new workstation and prefers a graphical interface over terminal commands. The developer needs to work with a local copy of a project, review changed files, create commits, and send those changes to GitHub. The workstation is a laptop, and the developer does not need a mobile interface or an automated build service.
Which tool best fits the developer's need?
Show Answer
Correct Answer
A
Option A is correct because GitHub Desktop provides a graphical way to work with local Git repositories, including making commits and pushing changes. Option B is designed for GitHub activity on a mobile device, not this local desktop workflow. Option C hosts websites. Option D automates workflows and is not the requested graphical Git client.
Work with GitHub repositories
10% - 15% of the examThis topic covers repository structure, common files, templates, and ways to maintain repository contents. Candidates must be able to choose suitable repository features and use repository insights to understand visibility and dependencies.
A product team is starting a second service with the same README, license, build configuration, and directory layout as its first service. The first service repository has a long commit history and active development that the new team does not want to inherit. The team wants a new repository containing the starter files, then plans to maintain it independently.
Which approach best meets the team’s requirement for a new repository with the same starter files but no connection to the source repository?
Show Answer
Correct Answer
B
Option B is correct because a template creates a new repository with the starter files without making it a fork of the source. Option A is not correct because a fork remains connected to its upstream repository. Option C is not correct because importing transfers an existing repository rather than using it as a clean template. Option D adds unnecessary manual work.
A team maintains a public GitHub repository and is preparing a maintenance review. The lead wants to know which external sites are directing visitors to the repository and how often people view or clone it. The lead also needs to identify the libraries the project uses and which other repositories depend on it. The team wants to use repository information already available on GitHub.
Choose two. Which two GitHub repository views best provide the requested information?
Select 2 answers, then check them.
Show Answer
Correct Answer
A, C
Options A and C are correct because Traffic reports activity such as views, clones, and referrers, while the dependency graph shows dependencies and dependents. Option B is not correct because stars indicate user interest, not page views or clone activity. Option D is not correct because file history records changes. Option E is not correct because branches do not report file popularity.
Collaborate using GitHub
10% - 15% of the examThis topic covers how teams use issues, pull requests, and discussions to coordinate work and share feedback. Candidates must be able to connect related work, manage notifications and issue views, and choose suitable GitHub features for documentation and sharing.
A maintenance team tracks a defect as issue #284 in a repository. An engineer has prepared a pull request that fixes the defect, and the team wants the issue to close only after the change is accepted into the default branch. The team also wants the relationship between the pull request and issue to remain visible during review.
Which action should the engineer take so that merging the pull request automatically closes issue #284?
Show Answer
Correct Answer
A
Option A is correct because the closing keyword in the pull request description closes issue #284 when the pull request is merged into the default branch. Option B links the items but does not specify that the issue should close. Option C closes the issue before the fix is merged. Option D creates a reference, but the plain issue mention does not close it.
A support team receives many bug reports in a GitHub repository. Each report should include reproduction steps and expected results, and the on-call engineer needs a quick way to find open reports marked urgent. The engineer also receives too many notifications from repository activity and wants to keep alerts for threads they participate in or are mentioned in.
Choose three actions that best meet the team's needs.
Select 3 answers, then check them.
Show Answer
Correct Answer
A, B, C
Options A, B, and C fit the scenario because a template standardizes reports, the saved search isolates open urgent issues, and Participating and @mentions reduces unrelated notifications while retaining relevant ones. Option D assigns work without regard to ownership. Option E does not use issue templates for reports. Option F increases noise and removes the label needed by the search.
A development team needs a set of procedures for its repository, including release checks and local troubleshooting steps. Several maintainers must be able to revise the material over time, and team members should find it from the repository. The team does not need a public website, and the content is larger than a short code sample or isolated text snippet.
Which GitHub feature is the best fit for the team's working manual?
Show Answer
Correct Answer
A
Option A is correct because a repository Wiki provides editable pages for maintaining project documentation alongside the repository. Option B is better suited to sharing snippets or small files, not a set of maintained manual pages. Option C is for publishing a website, which the team does not require. Option D is intended for conversation, so procedures would be harder to maintain as reference material.
Apply modern development practices
10% - 15% of the examThis topic covers automation and AI-assisted coding, along with cloud-based development environments. Candidates must choose suitable GitHub Actions workflows, Copilot capabilities, and Codespaces or github.dev setups for common development needs.
A product team wants each proposed change to be checked before it is accepted. The checks must build the application and run its existing test suite when a developer pushes a branch or opens a pull request. The team wants the checks to run consistently in GitHub without requiring each developer to start a local environment.
Which approach best meets the team’s requirement?
Show Answer
Correct Answer
A
Option A is correct because a GitHub Actions workflow can run automated build and test jobs in response to events such as pushes and pull requests. Option B is not correct because Codespaces provides a development environment, not event-driven CI. Option C is not correct because Copilot assists with code tasks but does not run the required workflow. Option D is not correct because github.dev is an editor, not a workflow runner.
A software team is updating an older service with a change that touches several files. Developers have Copilot available in their coding environment, and the organization permits them to use the model choices shown in its Copilot interface. They want help carrying out the multi-step change, but must keep their existing repository permissions and automated workflows in place.
Choose two. Which statements correctly describe how the developers can use GitHub Copilot for this task?
Select 2 answers, then check them.
Show Answer
Correct Answer
A, B
Options A and B are correct because Agent Mode can use available tools and make multi-file changes, while model selection can change which supported model generates responses. Option C is not correct because it describes basic code completion, not Agent Mode. Option D is not correct because model selection does not set repository permissions. Option E is not correct because Copilot and GitHub Actions can be used together.
A distributed team has a repository with a dev container configuration that specifies the tools and dependencies required by its application. New contributors need a consistent environment where they can install dependencies, run the service, and execute tests. They should be able to do this in a browser without first configuring those tools on their own computers.
Which development environment best meets the requirements?
Show Answer
Correct Answer
A
Option A is correct because Codespaces provides a cloud development environment that can be configured with the repository’s dev container and used to install dependencies and run tests. Option B is not correct because github.dev is a browser-based editor and does not provide a terminal for running the tests. Option C is not correct because Actions runners execute workflows rather than provide an interactive workspace. Option D is not correct because code suggestions do not run the application.
Manage projects with GitHub
5% - 10% of the examGitHub Projects helps teams organize work using layouts, fields, workflows, and insights. Candidates must choose suitable tracking settings, configure labels and milestones, and use project features to monitor work and reduce repeated effort.
A product group has one GitHub Project for a release that spans several months. The team already records a planned start date and target date for each feature, and managers need to see how work is distributed over the release schedule. They also want to keep all items in the same project instead of dividing work among separate projects.
Which project layout best fits the team’s need?
Show Answer
Correct Answer
C
Option C is correct because the team needs to see work plotted against planned start and target dates, which the roadmap layout supports when those date fields are populated. Option A is not correct because a table emphasizes rows and fields rather than a schedule. Option B is not correct because a board emphasizes columns such as status. Option D is not correct because splitting the project would fragment the single release view.
A support engineering team tracks work in a GitHub Project linked to its service repository. New issues and pull requests from that repository should appear in the project without a coordinator adding each one. The team also wants closed items removed from its active backlog, but it must keep the repository and project records available for later reference.
Choose two workflow configurations that meet the team’s requirements.
Select 2 answers, then check them.
Show Answer
Correct Answer
A, B
Options A and B are correct because auto-add can bring matching issues and pull requests from the repository into the project, while auto-archive can remove closed items from the active view. Option C is not correct because a saved view filters project items but does not add them. Option D is not correct because notifications do not manage project membership. Option E is not correct because charts report project data but do not archive items.
A repository team is preparing a release with a fixed due date. It needs to track which issues and pull requests belong to that release and monitor completion against the target. The same work also needs to be categorized by technical area, such as backend or accessibility, so staff can review those categories across more than one release.
Choose two actions that meet the release tracking and classification requirements.
Select 2 answers, then check them.
Show Answer
Correct Answer
A, B
Options A and B are correct because the milestone provides a release due date and progress tracking, while labels categorize issues and pull requests across release boundaries. Option C is not correct because a label does not provide a due date or milestone progress. Option D is not correct because assignment identifies ownership, not release membership. Option E is not correct because grouping by assignee does not classify work by technical area.
Understand privacy, security, and administration
10% - 15% of the examThis topic covers account security, repository and organization access, and administrative controls on GitHub. Candidates must be able to choose appropriate permissions and settings for protecting accounts, repositories, and organization resources.
A software team keeps its production code in a private GitHub repository. Developers currently have Write access, and several have pushed urgent fixes directly to the default branch. The security lead requires every change to be reviewed by another developer before it can reach that branch, while allowing the team to continue using its existing permissions.
Which branch protection configuration best meets the stated requirements?
Show Answer
Correct Answer
A
Option A is correct because requiring a pull request and an approval prevents unreviewed changes from being merged to the default branch. Option B checks results but does not require review. Option C verifies commit signatures but does not require a pull request. Option D limits direct pushes, but it does not establish the required review and approval process.
A company has purchased GitHub Copilot Business for one engineering organization. Its security lead approves only a subset of Copilot features, and the organization has seats for a limited number of developers. The organization owner must keep access limited to selected members and apply the approved feature settings centrally rather than relying on each developer to configure personal preferences.
Which two actions should the organization owner take? Choose two.
Select 2 answers, then check them.
Show Answer
Correct Answer
A, B
Options A and B are correct because organization owners can manage Copilot policies and assign seats to selected members. Option C is not correct because branch protection controls changes to branches, not Copilot feature access. Option D is not correct because personal preferences do not override organization policies. Option E is not correct because repository visibility does not assign Copilot access.
An organization has a private repository for an internal service and has created a team for the developers responsible for its code. The developers must be able to push changes, but they do not need to change repository settings, manage access, or administer the repository. The organization owner wants to grant only the repository permission needed for this work.
Which repository permission should the organization grant to the team?
Show Answer
Correct Answer
C
Option C is correct because Write permission lets the team push changes to the repository without granting administrative control. Option A allows viewing and cloning but not pushing. Option B supports issue and pull request management but not code pushes. Options D and E provide broader repository management powers than this team needs.
Explore the GitHub community
5% - 10% of the examThis topic covers ways people and organizations participate in the GitHub community and support open-source work. Candidates must identify appropriate GitHub features for following community activity, funding maintainers, and applying open-source practices within an organization.
A small software company depends on an open-source library maintained by one developer. The company wants to provide recurring financial support directly through GitHub, while also keeping track of new releases. It does not need to buy a commercial tool or create a copy of the library.
Which GitHub feature best meets the maintainer funding requirement?
Show Answer
Correct Answer
A
Option A is correct because GitHub Sponsors lets the company financially support the independent maintainer whose project it relies on. Option B is not correct because the Marketplace is for discovering and using tools and integrations. Option C is not correct because following provides activity updates, not funding. Option D is not correct because repository visibility does not provide financial support.
A product lead tracks an open-source library maintained by an individual and published under a standards organization. The lead wants GitHub to surface activity from both the maintainer and the organization, but does not plan to modify the library, install an integration, or provide financial support.
Which two actions best meet the product lead's request? Choose two.
Select 2 answers, then check them.
Show Answer
Correct Answer
A, B
Options A and B are correct because following the maintainer and organization helps the lead see their activity on GitHub. Option C is not correct because the Marketplace lists tools and integrations, not repositories to track. Option D is not correct because a fork creates a separate repository copy. Option E is not correct because sponsorship provides support, not activity updates.
An engineering director wants teams in different departments to reuse and improve a shared internal library. The company requires the code to remain available only to its employees, and leadership wants teams to contribute through a shared process rather than maintain disconnected copies. The director is considering how to encourage contributions across department boundaries.
Which approach best meets the engineering director's goal?
Show Answer
Correct Answer
A
Option A is correct because InnerSource applies open-source collaboration practices to work shared within an organization, matching the director's internal-use requirement. Option B is not correct because public publication exposes the work outside the company. Option C is not correct because the Marketplace is for tools and integrations. Option D is not correct because isolated forks do not promote shared internal contribution.
Continue Your GH-900 Preparation
You have seen 20 questions from a full set of 179. Prepare with the GH-900 dumps PDF and the Web-Based Practice Test.
- Compatible with All Devices
- Printable Format
- No Download Limits
Practice Test
- Check your timing and weak areas
- No Practice Limits
- Regularly Updated
- 100% Money-Back Guarantee
- 90 Days Free Updates
- Instant Access
Frequently Asked Questions
Which GH-900 topics are most demanding for candidates new to GitHub?
The challenge is often distinguishing related tools and concepts rather than memorizing names. Git provides version control, while GitHub adds collaboration and repository features. The exam also asks candidates to choose among issues, pull requests, discussions, Projects, Actions, Codespaces, and github.dev for different needs. Since Git and GitHub basics account for 25% to 30% of the exam, build a comparison sheet that states what each feature is for and when a team would use it.
How should I prepare for GH-900's timed and potentially interactive format?
You have 100 minutes, and the proctored exam may include interactive components. That makes careful reading and steady pacing useful, especially when a scenario asks you to select an appropriate repository setting or collaboration feature. Avoid assuming every task is a simple definition check. Practise explaining why one option fits the described need better than another, then review any item where your choice relied on a guess rather than a clear distinction.
Why can studying feature definitions still leave gaps in repository and collaboration questions?
Knowing what an issue or pull request is does not by itself establish how a team uses it to connect work, exchange feedback, or manage notifications. Repository questions also range across common files, templates, maintenance, visibility, and dependencies. The Exam4Success PDF can support structured review away from a lab by grouping these concepts for repeated study. As you review, write a brief example of when you would use each feature, rather than relying on a standalone definition.
What tends to make modern development tools confusing during preparation?
Actions, Copilot, Codespaces, and github.dev address different development needs, so treating them as interchangeable can lead to weak choices in scenario questions. Focus on the need described, such as automation, AI-assisted coding, or a cloud-based development environment, and match the feature to it. The Exam4Success Practice Test format can help you identify which distinctions remain unclear and review performance by weak area. After a practice session, revisit the use case behind each missed choice.
What practical capability does GH-900 help candidates build?
GH-900 covers foundational ways to work with GitHub repositories, collaborate through issues and pull requests, organize work with Projects, and apply modern development practices. It also includes account security, permissions, and administration, so the scope extends beyond coding. This makes the exam relevant to people who need to understand how teams use GitHub, including those who support repositories or coordinate work. Use the topic list to identify which of these responsibilities matches the skills you want to strengthen.
Does the GitHub community section matter if my work is mainly within an organization?
Yes. The exam includes community participation and open-source practices alongside internal collaboration. Candidates should recognize features for following community activity, funding maintainers, and applying open-source practices within an organization. These topics help connect repository work with the wider GitHub ecosystem, even when your daily role is not centered on public projects. Review the community objectives separately, then note how each feature supports participation or responsible support for open-source work.
How can I estimate my GH-900 preparation time before scheduling?
Your preparation time will depend on your experience with Git, repository workflows, and GitHub administration. First, review all seven exam areas, including Projects and community features, even though they have smaller weightings. Then use an Exam4Success Practice Test to identify weak topics and practise working within the exam’s 100-minute duration. Focus your study on the gaps it reveals, and reassess your understanding before choosing a date.
What should I verify before deciding I am ready for GH-900?
Readiness means applying GitHub features to situations, rather than simply recalling their names. Check that you can distinguish Git from GitHub, choose repository and collaboration features for a stated need, tell GitHub Actions apart from Codespaces and github.dev, and select suitable access permissions. The exam lasts 100 minutes, so practise a timed review using scenarios across the objectives. Before scheduling, confirm that one of the available exam languages suits you.
Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by Microsoft.