title: How to see all local commits which are not pushed to the remote branch?
body: <p>I am using the following commands to see all the local commits which are not pushed to remote branch but I am not getting all those local commits.  </p>
  
  <pre><code> git log  
   git log origin/master..master  
  </code></pre>
  
  <p>I want to see at-least 10 local commits(only local).</p>