title: How to get number of lines in file Git API
body: <p>I have branch "Develop". In this branch I have file index.php.</p>
  
  <p>How can I use Git Rest API to</p>
  
  <ul>
  <li>Get <strong>number of lines code</strong> of index.php file in branch Develop. </li>
  <li>Get <strong>SLOC</strong> of this file of index.php file in branch Develop.</li>
  </ul>
  
  <p>Have any body know that?</p>
  
  <p><a href="https://i.stack.imgur.com/Y6vVh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y6vVh.png" alt="enter image description here"></a></p>