title: How to fetch new branches and switch to them on a forked Git repository?
body: <p>So this Git repository say had 10 branches. I forked it last year. Now this year they added 5 more branches. How can I update my forked repository to show those 5 new branches? Also once I can see those new branches how can I switch between them?</p>
  
  <p>I tried <code>git checkout origin/newly_added_branchname</code> but it says </p>
  
  <blockquote>
    <p>origin/newly_added_branchname does not appear to be a git repository</p>
  </blockquote>