Free GitHub Foundations Exam (GH-900) Practice Questions
200 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the GitHub Foundations Exam (GH-900) practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1What benefit does version control provide when a project needs an earlier version of its files?
- A. It can recover an earlier recorded version of the project.
- B. It replaces the current files with the latest remote release.
- C. It reconstructs unrecorded edits from the project description.
- D. It keeps only the newest version to prevent conflicting changes.
2Which repository file is the usual first place to explain what a project does and how to get started?
- A. CODEOWNERS
- B. LICENSE
- C. SECURITY.md
- D. README.md
Answer: D
Explanation: GitHub says, "A README is often the first item a visitor will see when visiting your repository." It typically describes the project and getting started; the other files address ownership, licensing, or vulnerability reporting.
3A team needs a place to record a bug, discuss its details, and track the work to resolve it. Which GitHub feature directly supports that record?
- A. A release asset.
- B. A repository star.
- C. An issue.
- D. A Git tag.
4Which GitHub capability can automatically build and test each pull request and deploy merged changes?
5What is the main role of GitHub Projects?
- A. To automate builds, tests, and deployments using event-triggered workflows.
- B. To propose and review file changes before merging them into a repository.
- C. To plan and track work through adaptable views of issues and pull requests.
- D. To publish static websites using content stored in a GitHub repository.
6In a password-based sign-in protected by two-factor authentication, what additional protection does 2FA require?
- A. A stronger password used as the only credential.
- B. Another authentication factor beyond the username and password.
- C. The same password entered a second time during sign-in.
- D. A matching username and email address without another factor.
7A project is publicly visible on GitHub and wants others to be free to use, modify, and distribute its software as open source. What should it include?
- A. A README explaining how the project is used.
- B. A CONTRIBUTING guide for proposing project changes.
- C. An appropriate open-source software license.
- D. A SECURITY policy for reporting project vulnerabilities.
8How does Git's distributed design support work without a constant connection to a central repository?
- A. It stores all project history exclusively on the central server.
- B. It downloads individual historical commits only when requested.
- C. It gives each developer a full copy of the project and its history.
- D. It replaces the local history with a list of remote file links.
9A repository has README files in .github, the root directory, and docs. Which location takes precedence for the README surfaced to visitors?
- A. The .github directory.
- B. The root directory.
- C. The docs directory.
- D. The most recently edited location.
10Which issue feature represents a large task as a hierarchy of smaller issues?
- A. Sub-issues.
- B. Repository topics.
- C. Release tags.
- D. Issue reactions.
Topics in this practice bank
These topics describe the available practice for GitHub Foundations Exam (GH-900). Review the examination outline and its sources for scope and allocation details.
Understand Git and GitHub basics
- Version control fundamentals
- Working with GitHub
Work with GitHub repositories
- Repository management
Collaborate using GitHub
- Collaboration tools
Apply modern development practices
- Automation and AI tools
Manage projects with GitHub
- Project Tracking and organization
Understand privacy, security, and administration
- Security and access management
Explore the GitHub community
- Open-source engagement
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view GitHub Foundations Exam (GH-900) details.