Docsity

GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues,, Exams of Computer Science

Toggle sidebar
bg1
GitHub Foundations Certification Style
Practice Exam (Git Basics, Repositories,
Issues, Pull Requests, Collaboration,
Projects, Security, Plans, Community) - 300
Original Questions with Answers
Original GitHub fundamentals study practice
300 Multiple-Choice Practice Questions
with Answer Key and Explanations
2026 Edition
GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,
Community) - 300 Original Questions with Answers | Page 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, and more Exams Computer Science in PDF only on Docsity!

GitHub Foundations Certification Style

Practice Exam (Git Basics, Repositories,

Issues, Pull Requests, Collaboration,

Projects, Security, Plans, Community) - 300

Original Questions with Answers

Original GitHub fundamentals study practice

300 Multiple-Choice Practice Questions

with Answer Key and Explanations

2026 Edition GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

Exam Overview This original practice exam covers GitHub fundamentals in the style of a GitHub Foundations certification: Git and GitHub basics, repositories and branches, issues and pull requests, collaboration and open source, projects and planning, GitHub features such as Actions and Pages at an overview level, security basics, plans and administration, community and best practices, and applied scenarios. It is study material, is not affiliated with GitHub or Microsoft and is not an official exam or certification. Features change, so please confirm details against current official documentation. Exam GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans, Community) - 300 Original Questions with Answers Intended for Beginners and developers studying GitHub fundamentals in GitHub Foundations certification style Number of questions 300 multiple-choice (four options, one best answer) Content areas 9 Suggested time 5 hours (about 60 seconds per question) Suggested passing target 80% or higher (240 of 300) Answer format The correct answer and explanation appear directly after each question

Content Blueprint

Content area Questions Share of exam Git and GitHub Basics 33 11% Repositories and Branches 33 11% Issues and Pull Requests 33 11% Collaboration and Open Source 33 11% Projects and Planning 33 11% GitHub Features Overview 33 11% Security Basics 33 11% Plans and Administration 33 11% Applied Scenarios 36 12%

How to Use This Exam

 Cover the answer lines with a sheet of paper and attempt each question before checking.  Work one content area at a time, or take all questions in one timed sitting to simulate test day.  Mark every question you miss or guess on, then reread its explanation and the related reference material.  Repeat the missed questions after a few days; aim to explain why each wrong option is wrong.

Reference Materials Used

 Git, GitHub collaboration, security and administration concepts (confirm against current official documentation) GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

Table of Contents Exam Overview Section 1: Git and GitHub Basics (Questions 1–33) Section 2: Repositories and Branches (Questions 34–66) Section 3: Issues and Pull Requests (Questions 67–99) Section 4: Collaboration and Open Source (Questions 100–132) Section 5: Projects and Planning (Questions 133–165) Section 6: GitHub Features Overview (Questions 166–198) Section 7: Security Basics (Questions 199–231) Section 8: Plans and Administration (Questions 232–264) Section 9: Applied Scenarios (Questions 265–300) Answer Key Summary GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

Section 1: Git and GitHub Basics

1. Git: A. A printer B. A spreadsheet C. Distributed version control system D. A mailbox Correct answer: C. Distributed version control system Explanation: Bas. 2. GitHub: A. Platform for hosting and collaborating on Git repositories B. A text editor only C. Restore or revert as appropriate D. Send commits to a remote Correct answer: A. Platform for hosting and collaborating on Git repositories Explanation: Bas. 3. Git vs GitHub: A. Known to Git vs not known B. Git is the tool and GitHub is a hosting platform C. Credentials for HTTPS and API use D. Platform for hosting and collaborating on Git repositories Correct answer: B. Git is the tool and GitHub is a hosting platform Explanation: Bas. 4. Repository: A. A single file B. Describes what changed and why C. Public identity on GitHub D. Project with its history Correct answer: D. Project with its history Explanation: Bas. 5. Commit: A. Snapshot of changes with a message B. A branch C. History, collaboration and rollback D. Describes what changed and why Correct answer: A. Snapshot of changes with a message Explanation: Bas. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

11. git status: A. Show working tree state B. Repository hosted elsewhere C. Snapshot of changes with a message D. Send commits to a remote Correct answer: A. Show working tree state Explanation: Bas. 12. git log: A. Create a new repository B. Show commit history C. Lightweight formatting language D. Project with its history Correct answer: B. Show commit history Explanation: Bas. 13. git diff: A. Delete B. Show changes C. Hidden D. Print Correct answer: B. Show changes Explanation: Bas. 14. git push: A. Send commits to a remote B. Fetch commits C. Credentials for HTTPS and API use D. Create a commit that undoes another Correct answer: A. Send commits to a remote Explanation: Bas. 15. git pull: A. Describes what changed and why B. Show commit history C. Fetch and merge remote changes D. History, collaboration and rollback Correct answer: C. Fetch and merge remote changes Explanation: Bas. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

16. git fetch: A. Temporarily shelve changes B. Create a commit that undoes another C. Project with its history D. Download remote changes without merging Correct answer: D. Download remote changes without merging Explanation: Bas. 17. Staging area: A. Create a commit that undoes another B. Can rewrite history C. Your local files D. Prepare changes for commit Correct answer: D. Prepare changes for commit Explanation: Bas. 18. Working directory: A. Project with its history B. Your local files C. Prepare changes for commit D. Create a new repository Correct answer: B. Your local files Explanation: Bas. 19. Remote: A. Repository hosted elsewhere B. Local only C. Features change D. Record staged changes Correct answer: A. Repository hosted elsewhere Explanation: Bas. 20. origin: A. Fetch and merge remote changes B. Restore or revert as appropriate C. Default name for the cloned remote D. Describes what changed and why Correct answer: C. Default name for the cloned remote Explanation: Bas. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

26. git reset caution: A. Always safe B. Temporarily shelve changes C. Can rewrite history D. Stage changes Correct answer: C. Can rewrite history Explanation: Bas. 27. git stash: A. Features change B. Create a new repository C. Project with its history D. Temporarily shelve changes Correct answer: D. Temporarily shelve changes Explanation: Bas. 28. Tags: A. Create a commit that undoes another B. Mark specific commits like releases C. Record staged changes D. List files Git should ignore Correct answer: B. Mark specific commits like releases Explanation: Bas. 29. Version control benefits: A. Each clone has full history B. History, collaboration and rollback C. Temporarily shelve changes D. Known to Git vs not known Correct answer: B. History, collaboration and rollback Explanation: Bas. 30. Distributed model: A. Central only B. Your local files C. Each clone has full history D. Use tokens or SSH keys Correct answer: C. Each clone has full history Explanation: Bas. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

31. SSH vs HTTPS: A. Two ways to connect to remotes B. Download remote changes without merging C. Restore or revert as appropriate D. Use tokens or SSH keys Correct answer: A. Two ways to connect to remotes Explanation: Bas. 32. Authentication: A. Plain passwords B. Small focused commits C. Repository hosted elsewhere D. Use tokens or SSH keys Correct answer: D. Use tokens or SSH keys Explanation: Bas. 33. Personal access tokens: A. Small focused commits B. Prepare changes for commit C. Fetch and merge remote changes D. Credentials for HTTPS and API use Correct answer: D. Credentials for HTTPS and API use Explanation: Bas. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

39. Fast forward merge: A. Create conflict B. Define usage rights C. Edit files then commit D. Move pointer when no divergence Correct answer: D. Move pointer when no divergence Explanation: Rep. 40. Merge commit: A. Delete B. Joins histories C. Hidden D. Print Correct answer: B. Joins histories Explanation: Rep. 41. Squash merge: A. Keep all B. Manage large files C. Combine commits into one D. Avoid rewriting shared history Correct answer: C. Combine commits into one Explanation: Rep. 42. Rebase: A. Multiple projects in one repository B. Reapply commits on a new base C. Permanent action needing care D. Main branch of a repository Correct answer: B. Reapply commits on a new base Explanation: Rep. 43. Rebase caution: A. Avoid rewriting shared history B. Always safe C. Reapply commits on a new base D. Labels for discovery Correct answer: A. Avoid rewriting shared history Explanation: Rep. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

44. Merge conflicts: A. Never happen B. Deleted C. Hidden D. Overlapping changes Correct answer: D. Overlapping changes Explanation: Rep. 45. Resolving conflicts: A. Edit files then commit B. Include other repositories C. Make a repository read only D. Permanent action needing care Correct answer: A. Edit files then commit Explanation: Rep. 46. Branch naming: A. Manage large files B. Track changes per file C. Use clear conventions D. Require reviews and checks Correct answer: C. Use clear conventions Explanation: Rep. 47. Feature branches: A. Delete B. Isolate features C. Hidden D. Print Correct answer: B. Isolate features Explanation: Rep. 48. Branch protection rules: A. Labels for discovery B. Personal copy of a repository C. Multiple projects in one repository D. Require reviews and checks Correct answer: D. Require reviews and checks Explanation: Rep. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

54. Template repositories: A. Start new repos from a template B. Branching practices vary by team C. Move pointer when no divergence D. Main branch of a repository Correct answer: A. Start new repos from a template Explanation: Rep. 55. Repository visibility: A. One only B. Permanent action needing care C. Manage large files D. Public, private or internal Correct answer: D. Public, private or internal Explanation: Rep. 56. Public repository: A. Permanent action needing care B. Visible to everyone C. Include other repositories D. Update from upstream Correct answer: B. Visible to everyone Explanation: Rep. 57. Private repository: A. Limited to authorized users B. Move repository ownership C. Multiple projects in one repository D. Original repository of a fork Correct answer: A. Limited to authorized users Explanation: Rep. 58. Archiving: A. Include other repositories B. Independent line of development C. Make a repository read only D. Public, private or internal Correct answer: C. Make a repository read only Explanation: Rep. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

59. Transferring: A. Require reviews and checks B. Combine commits into one C. Manage large files D. Move repository ownership Correct answer: D. Move repository ownership Explanation: Rep. 60. Deleting repositories: A. Labels for discovery B. Permanent action needing care C. Combine commits into one D. Visible to everyone Correct answer: B. Permanent action needing care Explanation: Rep. 61. Releases: A. Combine commits into one B. Use clear conventions C. Define usage rights D. Package versions for distribution Correct answer: D. Package versions for distribution Explanation: Rep. 62. Release notes: A. Delete B. Hidden C. Describe changes D. Print Correct answer: C. Describe changes Explanation: Rep. 63. Git LFS: A. Use clear conventions B. Manage large files C. Joins histories D. Define usage rights Correct answer: B. Manage large files Explanation: Rep. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

Section 3: Issues and Pull Requests

67. Issue: A. A commit B. People asked to review C. Group issues by goal or date D. Track tasks, bugs and ideas Correct answer: D. Track tasks, bugs and ideas Explanation: Iss. 68. Issue templates: A. Standardize reports B. Delete C. Hidden D. Print Correct answer: A. Standardize reports Explanation: Iss. 69. Labels: A. Delete B. Hidden C. Categorize issues D. Print Correct answer: C. Categorize issues Explanation: Iss. 70. Assignees: A. Delete B. People responsible C. Hidden D. Print Correct answer: B. People responsible Explanation: Iss. 71. Milestones: A. Group issues by goal or date B. Include steps and expected behavior C. Workflow details vary by team D. Explain changes and context Correct answer: A. Group issues by goal or date Explanation: Iss. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,

72. Mentions: A. Comment, approve or request changes B. Propose edits in a review C. Track tasks, bugs and ideas D. Notify people with at sign Correct answer: D. Notify people with at sign Explanation: Iss. 73. Linking issues: A. Proposal to merge changes B. Reference with a hash and number C. Tasks vs open conversation D. Workflow details vary by team Correct answer: B. Reference with a hash and number Explanation: Iss. 74. Closing keywords: A. Enforced by branch protection B. Close and link C. Close issues from pull requests D. Tasks vs open conversation Correct answer: C. Close issues from pull requests Explanation: Iss. 75. Pull request: A. Proposal to merge changes B. A commit C. Propose edits in a review D. Close issues from pull requests Correct answer: A. Proposal to merge changes Explanation: Iss. 76. Draft pull request: A. Stay informed B. Quality and knowledge sharing C. Community conversations D. Work in progress Correct answer: D. Work in progress Explanation: Iss. GitHub Foundations Certification Style Practice Exam (Git Basics, Repositories, Issues, Pull Requests, Collaboration, Projects, Security, Plans,