What is the purpose of branching in GIT?



What is the purpose of branching in GIT?..

Answer / Upendra Singh Yadav

Branching in Git allows developers to work on separate features, fixes, or experiments without affecting the main codebase (usually the 'master' or 'main' branch). By isolating changes on a new branch, teams can collaborate more effectively, reduce conflicts, and maintain a stable production environment.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

Why is it desirable to create an additional commit rather than amending an existing commit?

1 Answers  


What is ‘bare repository’ in GIT?

1 Answers  


What is a git commit and what does the commit object contain?

1 Answers  


Distinguish between git fetch and git pull?

1 Answers  


What are the advantages of using GIT?

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


How to revert previous commit in git?

1 Answers  


How do you find a list of files that have changed in a particular commit?

1 Answers  


Explain what is commit message?

1 Answers  


What is git and why do we use it?

1 Answers  


What is git Is-tree?

1 Answers  


What work is restored when the deleted branch is recovered?

1 Answers  


Categories