title: Using git diff, how can I get added and modified lines numbers?
body: <p>Assuming I have a text file</p>
  
  <pre><code>alex
  bob
  matrix
  will be removed
  git repo
  </code></pre>
  
  <p>and I have updated it to be</p>
  
  <pre><code>alex
  new line here
  another new line
  bob
  matrix
  git
  </code></pre>
  
  <p>Here, I have added lines number (2,3) and updated line number (6)</p>
  
  <p>How can I get these line numbers info using git diff or any other git command?</p>