title: Getting a list of commits along with the commit message and hash in Git
body: <p>I have a project in Git. What I want is a list of only the commit messages and the hashes between two commits and store it in a text file. Is there any command that does this ? </p>
  
  <p>Thanks.</p>