Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Introduction to Git GitHub and Other Remote Repositories Adding Remotes

What is a branch?

Why is a branch needed, what is the purpuse of it, overall what is a branch?

2 Answers

A branch is a partial or complete repository copy that is used to make changes to the code without updating the production repository. It helps us to test the code before updating it into the main repository.

Thanks, that is now more clear.