Practice Git & GitHub Questions Now
Start a timed practice session focusing on Introduction to Git and GitHub topics from the GH-FOUND question bank.
Start GH-FOUND Practice Quiz →GH-FOUND Git & GitHub Question Bank (89 Questions)
Browse all 89 practice questions covering Introduction to Git and GitHub for the GH-FOUND certification exam. Each question includes the full answer and a detailed explanation to help you understand the concepts.
- Question 1Understand Git and GitHub Basics
What is the default branch name when you create a new repository on GitHub?
Show Answer & Explanation
Correct Answer: CExplanation:GitHub changed the default branch name from master to main in October 2020.
- Question 2Understand Git and GitHub Basics
Which command shows the commit history of a repository?
Show Answer & Explanation
Correct Answer: BExplanation:git log displays the commit history, showing commit hashes, authors, dates, and messages.
- Question 3Work with GitHub Repositories
What is a GitHub repository README file primarily used for?
Show Answer & Explanation
Correct Answer: CExplanation:README.md is the first thing visitors see. It typically contains description, setup instructions, and usage examples.
- Question 4Work with GitHub Repositories
Which GitHub feature allows you to create a copy of someone else's repository under your own account?
Show Answer & Explanation
Correct Answer: BExplanation:Forking creates a copy of a repository in your GitHub account, allowing you to make changes without affecting the original.
- Question 5Work with GitHub Repositories
What is a GitHub repository template used for?
Show Answer & Explanation
Correct Answer: BExplanation:A template repository can be used to generate new repositories with the same directory structure, branches, and files.
- Question 6Collaborate Using GitHub
What is the primary purpose of a pull request on GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:A pull request notifies collaborators about changes you have pushed, letting them review, discuss, and merge the code.
- Question 7Privacy, Security, and Administration
What do branch protection rules on GitHub enforce?
Show Answer & Explanation
Correct Answer: BExplanation:Branch protection rules can require reviews, passing status checks, linear history, and restrict who can push.
- Question 8Apply Modern Development Practices
What is GitHub Actions?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Actions is a CI/CD and automation platform that runs workflows triggered by repository events like pushes and pull requests.
- Question 9Apply Modern Development Practices
What is GitHub Codespaces?
Show Answer & Explanation
Correct Answer: BExplanation:Codespaces provides on-demand cloud-hosted development environments (VS Code in the browser), configurable with devcontainer.json.
- Question 10Apply Modern Development Practices
What is GitHub Copilot?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Copilot is an AI-powered code completion tool that suggests whole lines and functions inside your editor.
- Question 11Apply Modern Development Practices
What is GitHub Pages used for?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Pages publishes static websites (HTML, CSS, JS) from a repository branch or /docs folder, for free.
- Question 12Collaborate Using GitHub
In a GitHub pull request, what does 'Request changes' in a review mean?
Show Answer & Explanation
Correct Answer: BExplanation:Request changes submits feedback that must be resolved before the PR can be merged, when branch protection requires reviews.
- Question 13Privacy, Security, and Administration
What is the difference between a public and private GitHub repository?
Show Answer & Explanation
Correct Answer: BExplanation:Public repositories are visible to anyone on the internet. Private repositories are only accessible to you and people you explicitly invite.
- Question 14Privacy, Security, and Administration
Why is it important to include a license in an open-source GitHub repository?
Show Answer & Explanation
Correct Answer: BExplanation:Without an explicit license, copyright law means others cannot legally use, modify, or distribute your code. Common licenses: MIT, Apache 2.0, GPL.
- Question 15Privacy, Security, and Administration
What is the purpose of a CODEOWNERS file in a GitHub repository?
Show Answer & Explanation
Correct Answer: BExplanation:CODEOWNERS defines who owns paths in the repo. Those owners are automatically requested as reviewers when a PR touches their files.
- Question 16Collaboration Features
What is a pull request (PR) in GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:A pull request proposes merging changes from one branch to another, providing a space for code review, discussion, CI checks, and approval before merging.
- Question 17Working with GitHub Repositories
What does the 'Watch' button on a GitHub repository do?
Show Answer & Explanation
Correct Answer: BExplanation:Watching a repository subscribes you to notifications for activity: new issues, PRs, releases, and discussions. You can customize notification levels (all, releases only, custom).
- Question 18Collaboration Features
What is a GitHub template repository?
Show Answer & Explanation
Correct Answer: BExplanation:Template repositories provide a 'Use this template' button that creates new repositories with the same file structure, directory layout, and content — without copying the commit history.
- Question 19Working with GitHub Repositories
What are GitHub repository templates?
Show Answer & Explanation
Correct Answer: BExplanation:Template repos: Settings > check 'Template repository'. Others use 'Use this template' button. New repo gets: files, directory structure, branches, but fresh Git history. Use for: starter projects, boilerplates, organizational standards. No fork relationship created.
- Question 20Working with GitHub Repositories
What is the GitHub repository Insights tab?
Show Answer & Explanation
Correct Answer: BExplanation:Insights: Pulse (recent activity summary), Contributors (commit activity per person), Community (standards compliance), Traffic (pageviews, unique visitors, referrers, popular content), Commits (frequency over time), Code frequency (additions/deletions), Dependency graph, Network (fork graph).
- Question 21Working with GitHub Repositories
What are GitHub repository rules for visibility?
Show Answer & Explanation
Correct Answer: BExplanation:Visibility: Public (open to all, free Actions for public repos), Private (explicit access required, paid Actions minutes), Internal (org members, GHEC/GHES only). Change visibility in Settings. Forking: public repos always forkable, private/internal configurable. Transfer: between users/orgs.
- Question 22Working with GitHub Repositories
What are GitHub repository topics?
Show Answer & Explanation
Correct Answer: BExplanation:Topics: clickable tags on repos. Add in Settings > Topics. Benefits: improve discoverability (github.com/topics/machine-learning), categorize projects (language, framework, purpose), and GitHub Explore recommendations. Best practices: use common topics, relevant technologies, and project type. Org-wide: standardize topics for internal discovery.
- Question 23Working with GitHub Repositories
What is a fork in GitHub?
Show Answer & Explanation
Correct Answer: AExplanation:Forking creates a personal copy of someone else's repository under your GitHub account, allowing you to make changes independently and submit pull requests back to the original.
- Question 24Understand Git and GitHub Basics
What command initializes a new Git repository in the current directory?
Show Answer & Explanation
Correct Answer: BExplanation:git init creates a new .git directory in the current folder, initializing an empty repository.
- Question 25Understand Git and GitHub Basics
Which Git command stages all modified and new files for the next commit?
Show Answer & Explanation
Correct Answer: CExplanation:git add . stages all changes in the current directory and subdirectories.
- Question 26Understand Git and GitHub Basics
Which command undoes the last commit but keeps the changes staged?
Show Answer & Explanation
Correct Answer: CExplanation:git reset --soft HEAD~1 moves HEAD back one commit but leaves the changes staged.
- Question 27Understand Git and GitHub Basics
What does git clone do?
Show Answer & Explanation
Correct Answer: BExplanation:git clone copies a remote repository, including all commits, branches, and tags, to a new directory on your local machine.
- Question 28Understand Git and GitHub Basics
What type of merge creates a single new merge commit to combine two branches?
Show Answer & Explanation
Correct Answer: CExplanation:A three-way merge creates a new commit with two parents, preserving full branch history.
- Question 29Understand Git and GitHub Basics
Which command fetches changes from a remote repository AND merges them into the current branch?
Show Answer & Explanation
Correct Answer: CExplanation:git pull is equivalent to git fetch followed by git merge. git fetch alone downloads changes but does not merge.
- Question 30Work with GitHub Repositories
What is a GitHub Release?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Releases package software along with release notes and binary files. They are based on Git tags.
- Question 31Work with GitHub Repositories
What is the purpose of the GitHub Wiki feature?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Wikis provide a collaborative space to document a project with long-form content separate from the source code.
- Question 32Collaborate Using GitHub
What are GitHub Issues primarily used for?
Show Answer & Explanation
Correct Answer: BExplanation:Issues track bugs, features, and tasks with support for labels, assignees, milestones, and PR links.
- Question 33Collaborate Using GitHub
What are GitHub Labels used for?
Show Answer & Explanation
Correct Answer: BExplanation:Labels are colored tags (e.g., bug, enhancement) applied to issues and PRs to categorize and filter them.
- Question 34Collaborate Using GitHub
What do GitHub Milestones allow you to do?
Show Answer & Explanation
Correct Answer: BExplanation:Milestones associate related issues and PRs with a shared goal or deadline, showing a completion percentage.
- Question 35Collaborate Using GitHub
What is the GitHub Discussions feature designed for?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Discussions is a community forum for open-ended conversations, Q&A, announcements, and ideas separate from specific issues.
- Question 36Privacy, Security, and Administration
What is GitHub Dependabot used for?
Show Answer & Explanation
Correct Answer: BExplanation:Dependabot monitors dependencies for known vulnerabilities and automatically opens PRs to update them to safe versions.
- Question 37Privacy, Security, and Administration
What is GitHub Secret Scanning?
Show Answer & Explanation
Correct Answer: AExplanation:Secret Scanning detects tokens and credentials accidentally committed to a repository and can alert you or block a push.
- Question 38Introduction to Git and GitHub
What is a Git repository?
Show Answer & Explanation
Correct Answer: BExplanation:A Git repository is a directory containing project files along with a hidden .git folder that tracks all changes, branches, and commit history for version control.
- Question 39Introduction to Git and GitHub
What is the difference between Git and GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:Git is the distributed version control system. GitHub is a cloud-hosted platform built on Git that adds collaboration features like pull requests, issues, Actions, and access management.
- Question 40Introduction to Git and GitHub
What is a commit in Git?
Show Answer & Explanation
Correct Answer: BExplanation:A commit captures a snapshot of all staged changes along with metadata (author, timestamp, message), creating a permanent record in the repository's history.
- Question 41Working with GitHub Repositories
What are GitHub Issues used for?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Issues provide a tracking system for bugs, feature requests, tasks, and discussions, supporting labels, milestones, assignees, and cross-referencing with pull requests.
- Question 42Collaboration Features
What are GitHub Discussions used for?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Discussions provides a forum-like space for community conversations, Q&A, announcements, and brainstorming that don't fit the issue-tracking format.
- Question 43Collaboration Features
What does CODEOWNERS file do in GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:CODEOWNERS maps file paths to GitHub users or teams who are automatically requested as reviewers when pull requests modify their owned files, ensuring relevant expertise reviews.
- Question 44Modern Development
What is the purpose of GitHub Packages?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Packages provides package hosting for multiple ecosystems (npm, Docker, Maven, NuGet, RubyGems) integrated with GitHub repositories, Actions, and permissions.
- Question 45Project Management
What is GitHub Projects (V2)?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Projects V2 provides customizable project boards with table, board, and roadmap views, custom fields, automated workflows, and integration with issues and pull requests.
- Question 46Project Management
What are GitHub Milestones used for?
Show Answer & Explanation
Correct Answer: BExplanation:Milestones group related issues and PRs together with a title, description, and optional due date, showing completion progress toward a specific goal or release.
- Question 47Introduction to Git and GitHub
What is a branch in Git?
Show Answer & Explanation
Correct Answer: BExplanation:Branches are pointers to commits, enabling parallel work on features, fixes, or experiments. They're cheap to create and merge, forming the basis of Git workflow strategies.
- Question 48Working with GitHub Repositories
What is GitHub Stars used for?
Show Answer & Explanation
Correct Answer: BExplanation:Starring a repository bookmarks it for easy access later and shows appreciation. Star counts indicate community interest and popularity of a project.
- Question 49Working with GitHub Repositories
What are GitHub Releases?
Show Answer & Explanation
Correct Answer: BExplanation:Releases create distributable software packages from Git tags, including release notes (changelog), binary assets (compiled downloads), and a link to the source code at that point.
- Question 50Working with GitHub Repositories
What is a GitHub Gist?
Show Answer & Explanation
Correct Answer: BExplanation:Gists are lightweight repositories for sharing code snippets, configuration files, or notes. They support multiple files, versioning, comments, and can be secret (unlisted) or public.
- Question 51Collaboration Features
What is the purpose of assignees on GitHub Issues and PRs?
Show Answer & Explanation
Correct Answer: BExplanation:Assignees indicate who is responsible for an issue (working on it) or PR (reviewing it). Multiple assignees can be added, and they receive notifications about activity on the item.
- Question 52Modern Development
What is GitHub Security?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Security features automatically detect vulnerable dependencies (Dependabot), code vulnerabilities (CodeQL), exposed secrets, and provide a framework for security advisory disclosure.
- Question 53Project Management
What views does GitHub Projects V2 support?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Projects V2 offers: Table (spreadsheet-like with custom columns), Board (kanban cards), and Roadmap (timeline/Gantt) views — all filterable and groupable by custom fields.
- Question 54Project Management
How can GitHub Projects automate workflow?
Show Answer & Explanation
Correct Answer: BExplanation:Projects V2 has built-in automations: auto-add items matching filters, set status on PR merge/issue close, and custom Actions workflows that update project fields programmatically.
- Question 55Project Management
What is the relationship between GitHub Issues and GitHub Projects?
Show Answer & Explanation
Correct Answer: BExplanation:Issues are added to Projects as trackable items. Projects add custom fields (priority, sprint, size) on top of issue properties, providing multi-view project tracking while issues retain their discussion and metadata.
- Question 56Working with GitHub Repositories
What is GitHub Pages?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Pages: free hosting from repository content (main branch or /docs folder or gh-pages branch). Supports custom domains, HTTPS, Jekyll for static site generation. Perfect for documentation, portfolios, and project websites.
- Question 57Collaboration Features
What is a code review and how does it work on GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:Code review on GitHub: reviewers assigned to PR, examine diff, leave inline comments on specific lines/files, submit review (Comment, Approve, Request Changes). Required reviews can be enforced via branch protection rules.
- Question 58Collaboration Features
What is the difference between GitHub Issues and Discussions?
Show Answer & Explanation
Correct Answer: BExplanation:Issues: structured task tracking — assignable, labellable, closable, linked to PRs/projects. Discussions: community conversations — categories (Q&A, Ideas, General), threaded, voteable, convertible to issues when actionable.
- Question 59Modern Development
What is a GitHub Codespace?
Show Answer & Explanation
Correct Answer: BExplanation:Codespaces: full VS Code environment in the cloud. Configured via devcontainer.json (image, extensions, settings). Start coding immediately without local setup. Persists between sessions. Forwarded ports for preview.
- Question 60Project Management
What is the purpose of Milestones on GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:Milestones: group related issues/PRs with a title, description, and optional due date. Progress bar shows completion percentage. Useful for release planning (v1.0, Q3 Sprint), feature tracking, and deadline management.
- Question 61Project Management
How do you use GitHub Projects for sprint planning?
Show Answer & Explanation
Correct Answer: BExplanation:Sprint planning: create iteration field (2-week sprints), custom fields (priority, story points, sprint). Add issues, assign to current sprint, use board view (To Do, In Progress, Done), track velocity and burndown.
- Question 62Working with GitHub Repositories
What are GitHub Topics?
Show Answer & Explanation
Correct Answer: BExplanation:Topics: short descriptive labels on repositories (python, react, machine-learning). Improve discoverability in GitHub search and explore pages. Multiple topics per repo. GitHub auto-suggests related topics.
- Question 63Collaboration Features
How does GitHub handle merge methods for PRs?
Show Answer & Explanation
Correct Answer: BExplanation:Merge commit: preserves full history with merge commit. Squash merge: all PR commits become one commit on base (clean history). Rebase merge: replays individual commits on base (linear, no merge commit). Choose based on team convention.
- Question 64Modern Development
What are GitHub Packages?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Packages: host packages alongside source code. Supports: npm, Maven, Gradle, NuGet, Docker (ghcr.io), RubyGems. Integrated with Actions for publish workflows and Repository/Organization permissions for access control.
- Question 65Project Management
What are GitHub Insights?
Show Answer & Explanation
Correct Answer: BExplanation:Insights tab: Contributors (who, when, how much), Traffic (clones, visitors), Code frequency (additions/deletions over time), Dependency graph, Network (fork visualization), and Community standards (README, LICENSE, contributing guidelines).
- Question 66Collaboration Features
What is GitHub's conflict editor?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub's conflict editor: for simple conflicts, click 'Resolve conflicts' button on the PR page. Edit the conflicting sections in the browser, remove conflict markers, and mark as resolved — no local checkout needed for straightforward conflicts.
- Question 67Modern Development
What is GitHub CLI (gh)?
Show Answer & Explanation
Correct Answer: BExplanation:gh CLI: 'gh pr create', 'gh issue list', 'gh repo clone', 'gh run view', 'gh codespace create'. Combines Git operations with GitHub features. Supports aliases, JSON output for scripting, and OAuth/PAT authentication.
- Question 68Working with GitHub Repositories
What is a GitHub README.md?
Show Answer & Explanation
Correct Answer: BExplanation:README.md: first thing visitors see. Best practices: project title, description, badges (CI status, license), installation steps, usage examples, screenshots, API docs, contributing guidelines, and license reference. Supports full GitHub Flavored Markdown.
- Question 69Collaboration Features
What are saved replies in GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:Saved replies: personal templates for frequent comments. Create in Settings > Saved replies. Use via keyboard shortcut (Ctrl+.) in any comment box. Examples: 'Thanks for the PR! Please add tests.', 'Closing as duplicate of #123'. Markdown supported.
- Question 70Modern Development
What are GitHub Codespaces prebuilds?
Show Answer & Explanation
Correct Answer: BExplanation:Prebuilds: GitHub Actions workflow builds devcontainer image periodically or on push. When developer creates Codespace: starts in seconds (not minutes). Configure in repo settings > Codespaces > prebuild configuration. Reduces cold-start time significantly.
- Question 71Project Management
What are GitHub Projects (new)?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Projects: table view (spreadsheet-like), board view (kanban), roadmap view (timeline). Custom fields: text, number, date, single select, iteration. Automation: auto-add items, set fields on status change. Cross-repo: track issues from multiple repositories in one project.
- Question 72Project Management
What are GitHub Milestones?
Show Answer & Explanation
Correct Answer: BExplanation:Milestones: group related issues/PRs under a goal (e.g., 'v2.0 Release'). Shows: open/closed count, completion percentage, optional due date. Filter issues by milestone. Use for: release planning, sprint tracking, and feature grouping across a repository.
- Question 73Modern Development
What is GitHub Actions in the context of CI/CD?
Show Answer & Explanation
Correct Answer: BExplanation:Actions: event-driven CI/CD. Trigger on: push, PR, schedule, webhook, manual. Workflow: YAML defining jobs with steps. Steps use: actions (reusable units) or shell commands. Matrix builds for multi-environment testing. Marketplace: 15000+ community actions.
- Question 74Collaboration Features
What is GitHub Discussions?
Show Answer & Explanation
Correct Answer: BExplanation:Discussions: categories (Announcements, General, Ideas, Q&A, Show & Tell). Q&A: mark answers as accepted. Features: threading, reactions, polls, labels, pinning, and converting discussions to issues. Use for: community questions, feature ideas, and general conversation.
- Question 75Working with GitHub Repositories
What is a GitHub Wiki?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Wiki: separate Git repo for documentation. Features: Markdown pages, sidebar navigation, custom footer, page history. Access: anyone with repo access (or public for public repos). Clone wiki: 'git clone repo.wiki.git'. Alternative: GitHub Pages or docs/ folder for versioned docs.
- Question 76Modern Development
What are GitHub webhooks?
Show Answer & Explanation
Correct Answer: BExplanation:Webhooks: Settings > Webhooks. Configure: payload URL, secret (HMAC verification), events (push, pull_request, issues, all). GitHub sends JSON POST with event data. Use for: CI/CD triggers, chat notifications, deployment automation, and custom integrations.
- Question 77Modern Development
What are GitHub Environments?
Show Answer & Explanation
Correct Answer: BExplanation:Environments: define in Settings > Environments. Protection rules: required reviewers (approve before deploy), wait timer (delay N minutes), branch restrictions (only main can deploy to production). Secrets: environment-scoped (override repo secrets). Used in workflows: 'environment: production'. Deployment history visible in repo sidebar.
- Question 78Project Management
What is GitHub's saved replies feature?
Show Answer & Explanation
Correct Answer: BExplanation:Saved replies: Settings > Saved replies. Keyboard shortcut: Ctrl+. (period) to insert. Use for: common review feedback, triage responses, welcome messages, and closing templates. Personal to each user (not org-level). Supports Markdown. Tip: create replies for repeated code review patterns.
- Question 79Working with GitHub Repositories
How do GitHub Pages work?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Pages: Settings > Pages. Sources: branch root, /docs folder, or GitHub Actions. Jekyll: default static site generator (Markdown → HTML), themes, and Liquid templates. Custom domain: CNAME file + DNS configuration. HTTPS: automatic via Let's Encrypt. Limits: 1 GB source, 100 GB bandwidth/month, 10 builds/hour. Types: user/org (username.github.io) and project (username.github.io/repo).
- Question 80Collaboration Features
What is a GitHub code review?
Show Answer & Explanation
Correct Answer: BExplanation:Code review: reviewers assigned (manually, CODEOWNERS, or auto-assign). Actions: Comment (general feedback), Approve (ready to merge), Request Changes (must be addressed). Features: inline comments on specific lines, suggested changes (click 'Commit suggestion' to apply), threaded discussions, and review summary. Best practices: small PRs, clear descriptions, timely reviews.
- Question 81Modern Development
What are GitHub Apps vs OAuth Apps?
Show Answer & Explanation
Correct Answer: BExplanation:GitHub Apps: granular permissions (per-resource), installed on repos/org, acts as itself or on behalf of user, webhook events, higher rate limits (5000/hr + per-installation), and private key authentication. OAuth Apps: user-level permissions (broad scopes), acts as user, lower rate limits. Prefer GitHub Apps for: integrations, bots, CI/CD. OAuth for: user authentication.
- Question 82Project Management
What are GitHub Projects (new) and how do they differ from classic Projects?
Show Answer & Explanation
Correct Answer: BExplanation:New Projects: table/board views, custom fields (text, number, date, single select, iteration), filters/sorts/groups, charts (bar, line), workflow automations (auto-set status, auto-add issues), draft issues, and cross-repo support. Classic: columns + cards, limited automation. Migration: convert classic to new. Projects V2 is the recommended approach for all project management.
- Question 83Collaboration Features
What are GitHub's merge strategies?
Show Answer & Explanation
Correct Answer: BExplanation:Merge commit: all PR commits + merge commit on target branch. History shows full PR context. Squash merge: all PR commits condensed into one commit. Clean history, loses individual commit detail. Rebase merge: each PR commit replayed on target (linear history, no merge commit). Configure: repo Settings > allow/restrict each strategy. Default: admins choose per-repo.
- Question 84Project Management
What is GitHub's issue linking and cross-referencing?
Show Answer & Explanation
Correct Answer: BExplanation:Cross-references: #123 (same repo), owner/repo#123 (cross-repo), SHA (commit reference). Auto-close keywords: Closes, Fixes, Resolves (in PR description/commit message). On merge: linked issues auto-close. Backlinks: referenced issues show the referencing PR/issue. Timeline: all references appear in issue timeline. Projects: link issues/PRs to project items for tracking.
- Question 85Working with GitHub Repositories
What is a GitHub release?
Show Answer & Explanation
Correct Answer: BExplanation:Releases: repo > Releases > Draft new release. Components: tag (version), title, release notes (auto-generated from PRs or manual), and binary assets (attach compiled binaries, packages). Features: pre-release flag, auto-generate notes from merged PRs, discussion category. API: create releases programmatically. GitHub Actions: automate release creation on tag push. Download: source code archives (zip/tar.gz) auto-included.
- Question 86Project Management
What are milestones in GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:Milestones: create in Issues > Milestones. Properties: title, description, due date. Assign: add issues/PRs to milestones. Tracking: progress bar (% of issues closed), open/closed counts. Filter: view issues by milestone. Use for: release planning (v2.0 milestone), sprint tracking, feature grouping. Close: when all issues resolved. Sort: by due date, completeness.
- Question 87Collaboration Features
What are GitHub notifications and how do you manage them?
Show Answer & Explanation
Correct Answer: BExplanation:Notifications: triggered by: @mentions, review requests, subscribed threads, watching repos, assigned issues. Channels: GitHub web inbox, email (configurable), mobile push. Management: Settings > Notifications (routing rules per org/repo), unsubscribe per thread, custom filters (reason, repo, type), and saved filters. Best practice: watch only important repos, use participating filter for direct mentions, email routing by org.
- Question 88Introduction to Git and GitHub
What does 'git clone' do?
Show Answer & Explanation
Correct Answer: BExplanation:'git clone' creates a complete local copy of a remote repository including all files, branches, and commit history, setting up the remote tracking automatically.
- Question 89Working with GitHub Repositories
What is the difference between a fork and a clone?
Show Answer & Explanation
Correct Answer: BExplanation:Fork: server-side GitHub copy (your-account/repo). Used for contributing to others' repos — make changes in your fork, submit PR to original. Clone: download to local machine. Workflow: fork → clone → branch → commit → push → PR.
Key Git & GitHub Concepts for GH-FOUND
GH-FOUND Git & GitHub Exam Tips
Introduction to Git and GitHub questions in GH-FOUND are typically scenario-based. Focus on service-level decision making aligned to official exam objectives. Priority concepts: git, github, repository, commit, branch, clone.
What GH-FOUND Expects
- Anchor your answer in select the most practical, secure, and scalable answer for the stated scenario.
- Git & GitHub scenarios for GH-FOUND are frequently mapped to Domain 1 (22%), so read the objective carefully before picking controls or architecture.
- Expect multi-service scenarios where Git & GitHub interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated service question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Foundational) and managed-service best practices.
High-Value Git & GitHub Concepts
- Know the core Git & GitHub building blocks cold: git, github, repository, commit.
- Review the edge-case features and limits for branch, clone; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Git & GitHub pairs with Collaboration, GitHub Products in real deployment patterns.
- For GH-FOUND, explain why the chosen Git & GitHub design meets reliability, security, and cost expectations better than the alternatives.
Common GH-FOUND Traps
- Watch for answers that partially solve the requirement but miss operational constraints.
- Questions in Introduction to Git and GitHub often include distractors that look correct for Git & GitHub but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Git & GitHub implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Introduction to Git and GitHub (22%) outcomes for GH-FOUND?
- Can you explain security and access boundaries for Git & GitHub without relying on default-open assumptions?
- Can you describe how Git & GitHub integrates with Collaboration and GitHub Products during failure, scaling, and monitoring events?