title: Alter Git prompt on Windows
body: <p>I'm using Git on Windows, installed through GitExtensions with MSysGit (latest) having selected "do not modify my Windows prompt" during installation.</p>
  
  <p>Now, I would like to be able to modify the default prompt (which by default shows just the branch name to also show me how much time, and how many local commits since I last pushed to <code>origin</code> (or specifically <code>origin/master</code>, whichever is easier).</p>
  
  <p>So say instead of: <code>me@myPC /c/myRepo (master)</code></p>
  
  <p>I would see something along the lines of: <code>me@myPC /c/myRepo (master) 5 | 10:20</code></p>
  
  <p>meaning I have last pushed 10h 20min ago and I have made 5 local commits since.</p>
  
  <p>Before you mention it, I am aware there are ways of doing it with PowerShell, but I don't want to use it. I want my standard git bash we all know and love.</p>
  
  <p>I found a few solutions to that, with modifying <code>PS1</code> variable in <code>.bashrc</code> file, but (excuse my poor Unix konwledge) they seem to be not working, (for example accepted answer to <a href="https://stackoverflow.com/questions/6883760/git-for-windows-bashrc-or-equivalent-config-files-for-git-bash-shell">this</a> question).</p>
  
  <p>So there you have it. Is this possible?</p>