title: How to undo 'git fetch'
body: <p>I just added additional <code>remote A</code> to my <code>repo B</code> and then run <code>git fetch A</code>. How can I undo the fetch? If I just remove <code>remote A</code>: <code>git remote remove A1</code> would it undo fetch?</p>
  
  <h3>UPDATE:</h3>
  
  <pre><code>$ git remote add A path/to/A
  $ git fetch A
  </code></pre>
  
  <p>The above are commands I run so in result I got all branches fetched to my <code>repo B</code> however I just need one specific branch from <code>repo A</code> and I need it to go in specific folder on <code>repo B</code> but that is another story <a href="https://stackoverflow.com/questions/35590795/merge-code-between-two-dfferent-git-repositories">Merge code between two dfferent git repositories</a>.</p>