Question
Why is branching a core concept in Git?
- A. Branching helps in automatically merging changes from different branches into the main branch.
- B. Branching creates physical copies of the project on disk, ensuring data redundancy and backup.
- C. Branching creates an isolated environment to try new ideas and make changes without affecting other branches. Correct
- D. Branching is necessary for organizing files and folders within a Git repository.
Explanation
A branch lets you develop features, fix bugs or experiment in isolation, so work on one branch does not affect the default branch or others until it is merged. Branches do not merge automatically, they are lightweight pointers to commits rather than physical copies of the project, and they are not how files and folders are organized.