title: Overriding files in master branch due to changes in another branch
body: <p>Let's say I have a file named index.html in my master branch, I made some changes of the file in another branch name features. How can I replace the index.html file in the master branch by the index.html file in the features branch</p>
  
  <p>I once tried </p>
  
  <pre><code>&gt; git checkout master
  &gt; git merge features
  </code></pre>
  
  <p>but it seems it copied the content thereby creating redundancies</p>