GH-900 · Question #93
Why is branching a core concept in Git?
The correct answer is C. Branching creates an isolated environment to try new ideas and make changes without affecting. Branching is fundamental to Git because it allows developers to create an isolated environment for new features, bug fixes, or experiments without affecting the stable main branch or other developers' work. This isolation is what makes parallel development possible - multiple…
Question
Why is branching a core concept in Git?
Options
- ABranching helps in automatically merging changes from different branches into the main branch.
- BBranching creates physical copies of the project on disk, ensuring data redundancy and backup.
- CBranching creates an isolated environment to try new ideas and make changes without affecting
- DBranching is necessary for organizing files and folders within a Git repository.
How the community answered
(32 responses)- A3% (1)
- C94% (30)
- D3% (1)
Explanation
Branching is fundamental to Git because it allows developers to create an isolated environment for new features, bug fixes, or experiments without affecting the stable main branch or other developers' work. This isolation is what makes parallel development possible - multiple team members can work on different features simultaneously. Option A describes merging, not branching itself. Option B is incorrect because Git branches are just lightweight pointers to commits, not physical file copies - this is one of Git's key performance advantages over older VCS systems. Option D describes directory organization, which has nothing to do with branching.
Topics
Community Discussion
No community discussion yet for this question.