title: How do I get last commit date from git repository?
body: <p>I need the last commit date in git. This means the latest update date in my program.</p>
  
  <p>I used the command : $ <code>git log -1</code> but this command will give me the date from the local repository.  Rather I need date from remote repository. </p>
  
  <p>I tried some commands as follow.</p>
  
  <pre><code>git log -n 1 origin/Sprint-6.
  git rev-parse --verify HEAD
  </code></pre>