title: git fork sync with parent. pull to local, modify and push
body: <p>I m a bit confused about the local and git account online. Posts like <a href="https://stackoverflow.com/questions/40602721/syncing-fork-with-upstream-git-fetch-git-checkout-git-merge-vs-git-checkou">this</a> has commands like <code>git fetch upstream</code>. But how do I use it in the git fork in the browser?</p>
  
  <ul>
  <li>I have forked a project <code>project1</code> into my account (in my git URL). call it <code>projectforked</code>.</li>
  <li>Then I created an <code>R</code> Project in my local <code>RStudio</code> using <code>projectforked</code> as my origin. call it <code>projectforked_R_local</code></li>
  <li>Made changes to few files from <code>projectforked_R_local</code>.</li>
  <li>In the meantime, <code>project1</code> got added with changes</li>
  </ul>
  
  <p>So I am trying to -</p>
  
  <ul>
  <li>get <code>project1</code> changes into <code>projectforked</code>. </li>
  <li>Then sync <code>projectforked_R_local</code> to <code>projectforked</code>. </li>
  <li>and then create a <code>pull request</code> to <code>project1</code> owner to merge the changes in <code>projectforked</code> to <code>project1</code>. </li>
  </ul>