title: Undo commit when Push fails
body: <p>we are using TortoiseGit 
  The "commit" saves the changes to the local repository. </p>
  
  <p>When the push fails, the file is still committed to the local repository and TortoiseGit status icon on the file is green.. This is confusing because the developer doesn't know the file in the remote repository is out of sync.</p>
  
  <p>1) Is there any way to directly with the remote repository(like in SVN), when the push fails, the status icon should be  red</p>
  
  <p>or </p>
  
  <p>2) When a push fails, it is possible to undo the local repository commit automatically?</p>