title: Comparing changes in commits to the current file by Git
body: <p><strong>How can you show the differences of a file in the last 5 commits to the current uncommitted file by Git-show?</strong></p>
  
  <p>I made a change to my file which breaks my code. However, I do not know where the change is.</p>
  
  <p>I would like to compare the current uncommitted files to the recent commit (HEAD), to the previous commit (^HEAD) and at least 3 commits deeper.</p>
  
  <p>However, I do not know how you can do it efficiently.</p>
  
  <p>In trying to see the changes of the five last commits of one file to the current file in the given branch, I unsuccessfully ran</p>
  
  <pre><code>git show next~5:handle_questions.php
  </code></pre>