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 Introduction to Git First Commits Git Overview

Does one person working on a local machine get any benefit from Git's distributed feature?

How would a person working alone be able to take advantage of the "distributed" feature of Git?

1 Answer

18,813 Points

I haven't been through this particular course, so I can't speak specifically in that regard. However, I don't believe it would make any meaningful impact on a single programmer working alone.

The strength of a distributed model is that instead of having one central repository that everyone sends changes to, you instead have each committer with their own repository that has the whole commit history. The changes are just recorded to each person's local repository, no need to connect with a remote repository.

If you're working alone your local repository is effectively the central repository, since there's no one else working on the project.