🃏 GitHub Foundations Flashcards

Test your Git and GitHub fundamentals.

About This Flashcard Deck

This flashcard deck contains 10 cards covering key GitHub Foundations concepts for the GH-FOUND exam. Test your Git and GitHub fundamentals. Use active recall by attempting to answer each question before revealing the answer.

Card 1 of 10

Question

What is the difference between git merge and git rebase?

Click to reveal answer

Answer

Merge: creates a merge commit combining two branches (preserves history). Rebase: replays commits on top of another branch (linear history).

Click to flip back

All GitHub Foundations Flashcards

1

Q: What is the difference between git merge and git rebase?

A: Merge: creates a merge commit combining two branches (preserves history). Rebase: replays commits on top of another branch (linear history).

2

Q: What is a pull request?

A: A proposal to merge changes from one branch to another. Enables code review, discussion, and CI checks before merging.

3

Q: What is a fork?

A: A personal copy of someone else's repository under your GitHub account. Used for contributing to open source.

4

Q: What is GitHub Actions?

A: CI/CD platform built into GitHub. Automates workflows (build, test, deploy) triggered by events (push, PR, schedule).

5

Q: What is a CODEOWNERS file?

A: Defines individuals or teams automatically requested for code review when matching files are changed in a PR.

6

Q: What is GitHub Codespaces?

A: Cloud-hosted development environment — a full VS Code instance running in a container accessible from the browser.

7

Q: What is the difference between Issues and Discussions?

A: Issues: track bugs, features, tasks (actionable, closeable). Discussions: open-ended conversations, Q&A, ideas (community forum).

8

Q: What is branch protection?

A: Rules preventing direct pushes to branches. Can require PR reviews, status checks, signed commits, linear history.

9

Q: What is GitHub Pages?

A: Static site hosting directly from a repository. Supports Jekyll, custom HTML/CSS/JS. Free for public repos.

10

Q: What does git stash do?

A: Temporarily saves uncommitted changes so you can switch branches. Restore with git stash pop.

GitHub Flashcard Study Method

GitHub certifications test platform-specific knowledge that you can verify immediately. When reviewing these flashcards, keep a browser tab open to github.com and verify each concept in real time. If a card covers branch protection rules, navigate to a repository's settings and explore the options. This active learning approach turns passive memorisation into practical experience that sticks for the exam.

More GH-FOUND Flashcard Decks