title: Is there a way of copying a file from on branch to another but with different name?
body: <p>“I’m having two branches i.e master and minified, and I want to be able to copy a file from master to minified but get it with a different name.</p>
  
  <p>I have tried  git checkout</p>
  
  <pre><code>git checkout master index.html
  </code></pre>
  
  <p>I want index.html to be copied to minified as maybe </p>
  
  <p><code>index_from_master.html</code></p>