title: Github fork and branch
body: <p>Scenario:</p>
  
  <ul>
  <li>On the github exists the user "guru" and his primamy repository for the project called "bigsw". This primary repo has several branches. ("rel1", "rel2", "master")</li>
  <li>this project has 2 forks made by user1 and user2.</li>
  <li><p>Each of the abobe forks has the same branches as the primary repo, plus one different branch what contains their particular work. So, user1 forked the bigsw and created a branch called "utf8" and user2 created a branch "mongo".</p></li>
  <li><p>now i want join to the project, and for my work I need the following branches:</p>
  
  <ul>
  <li>guru/bigsw:master</li>
  <li>user1/bigsw:utf8 (read as: USER/REPO:BRANCH)</li>
  <li>user2/bigsw:mongo</li>
  </ul></li>
  </ul>
  
  <p><strong>What should be the recommended workflow?</strong></p>
  
  <p>My idea is:</p>
  
  <ol>
  <li>fork the guru/bisgw on the github (so will get myname/bigsw)</li>
  <li><p><code>git clone git://github.com/myname/bigsw</code> (get a local copy)</p></li>
  <li><p>want keep synced <em>local copy</em> of user1/bigsw:utf8 branch and similarly want a copy of branch "mongo from user2's fork. So, I don't need clone the full repo from user1 and user2 only one branch from each. Somewhat like:</p>
  
  <ul>
  <li><code>git remote add user1 git@github.com:user1/bigsw.git</code></li>
  <li><code>git fetch user1</code></li>
  <li><code>git checkout -b utf8 user1/utf8</code></li>
  <li>and similarly for user2's mongo repo (i'm not sure with the first two commands)
  <br />
  <br /></li>
  </ul></li>
  <li><code>git checkout -b i18n</code> (to create MY own branch - where I will make my changes)</li>
  <li>edit the sources (and i hoping than after the previous command they will automatically "going" into "i18n" branch)</li>
  <li><code>git push origin i18n</code> (to push my changes to github to myname/bigsw:i18n branch)</li>
  <li>and sometime in the future will submit an pull request for my i18n branch /don't know how, but don't need it yet ;)/</li>
  </ol>
  
  <p>Is the above an correct workflow? If yes, questions:</p>
  
  <ul>
  <li>how to clone user1's branch "utf8" and user2's "mongo" branches into my local machine - Are the commands in 3.) correct?</li>
  <li>how to keep in sync all (so i want in my local machine synced branches from all above) - my changes will be <em>only</em> in my branch "i18n". </li>
  </ul>
  
  <p>I'm total newbie for git/github - and unfortunately need start with this complicated model(at least for me). I learned something digging into <a href="https://help.github.com/" rel="nofollow noreferrer">https://help.github.com/</a> , but not understand all "git philosophy".</p>
  
  <p>I was already read:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/a/5458814/869025">https://stackoverflow.com/a/5458814/869025</a> (this helps a lot)</li>
  <li><a href="https://stackoverflow.com/a/9153737/869025">https://stackoverflow.com/a/9153737/869025</a> - giving some ideas, but i'm not sure</li>
  <li><a href="https://stackoverflow.com/questions/244695/how-to-combine-two-branches-from-two-different-repositories-in-a-single-reposito">How to combine two branches from two different repositories in a single repository?</a></li>
  <li><a href="https://stackoverflow.com/questions/3611256/forking-vs-branching-in-github">Forking vs. Branching in GitHub</a></li>
  <li><a href="https://stackoverflow.com/questions/10205383/git-merging-same-directory-of-two-different-repositories">git Merging same directory of two different repositories</a></li>
  <li><a href="https://help.github.com/" rel="nofollow noreferrer">https://help.github.com/</a></li>
  </ul>
  
  <p>but still wandering in the dark... :(</p>