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! While you're at it, check out some resources Treehouse students have shared here.

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

Example of when to use branches on a personal project(GIT)

Can someone give me an example of when you'd want/need to use branches when working on a project alone?

1 Answer

You might want to use branches when you are just experimenting with some new idea/feature, but unsure about whether or not it might be a good idea.

If it indeed turned out well, you might want to merge the branch back onto master (or the branch the branch branched off of)