Branching lets developers work on features or fixes in isolation without affecting the main codebase. It's like working on a copy of a document—your changes don't overwrite the original until you're ready to merge.
Active Recall
3 Flashcards
Interview Flashcards & Mock Mode
Practice with 3D flip cards, voice reader, and timed interview simulations.
Speed Drills
60s Micro-Tests
CodeShot.in — Daily Challenges
60-second in-browser coding micro-challenges to sharpen syntax and problem-solving speed.
What is Git branching and why is it important in team development?
What is the difference between git merge and git rebase?
Merge combines branches and keeps the full history. Rebase rewrites commit history to make it linear and cleaner. Merge preserves context, rebase keeps a tidy log. Teams choose based on their workflow preferences.
What is a pull request and why is it used?
A pull request is a request to merge your branch into the main branch. It triggers code review, discussion, and approval before changes land in production. It's a quality gate that keeps the codebase stable.