Git Branch Quiz
Multiple Choice Easy
Question
What is a branch in Git?
Hint
Branches in Git are very lightweight.
Explanation
A branch in Git is simply a lightweight movable pointer to a commit. Creating a branch is nearly instantaneous because it only creates a pointer, not a copy of files. This makes Git branches far cheaper than in older VCS systems. A fork is a server-side copy; a branch is a local line of development.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.