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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Yuval Blass](https://secure.gravatar.com/avatar/f0bfe446ed2f7c6447ccf3b4f5ba5e42?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Yuval Blass
18,134 PointsWhat happens if we forked a repo and at the same time the main project repo has updated?
Hi everyone,
As I wrote in the title, what happens in this situation? I understand that when we have full access to the repo, we can fetch and pull the changes, but when we forked our repo we out-of-date...
It does not make sense, and I probably miss something so thanks in advanced for your help!
3 Answers
![Kevin Korte](https://uploads.teamtreehouse.com/production/profile-photos/86647/micro_me.jpg)
Kevin Korte
28,148 PointsThere are ways to do that with git, you just have to do so manually, but there are some commands to make it easy: https://help.github.com/articles/syncing-a-fork/
![Yuval Blass](https://secure.gravatar.com/avatar/f0bfe446ed2f7c6447ccf3b4f5ba5e42?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Yuval Blass
18,134 PointsThanks Kevin
![Kevin Korte](https://uploads.teamtreehouse.com/production/profile-photos/86647/micro_me.jpg)
Kevin Korte
28,148 PointsYou're welcome
![Chris Komaroff](https://uploads.teamtreehouse.com/production/profile-photos/1184312/micro_Chris_28June2014.jpg)
Chris Komaroff
Courses Plus Student 14,198 PointsI was wondering about that! GitHub fork can rapidly become out-of-date. Thanks, Kevin, and remember to "git remote add upstream <url>" as described in the other link doc for this to work.