What is a Git branch used for?

  • To clean up the working directory
  • To isolate work on a specific feature or bug fix
  • To merge multiple repositories
  • To push changes to the remote repository
A Git branch is used to isolate work on a specific feature or bug fix. It allows developers to work on different parts of a project simultaneously without affecting the main codebase.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *