title: How can I get git push to ask for confirmation or run some checks?
body: <p>I would like to customize my Git prompt in such a way that it reminds me or runs checks for me before I push something to a remote repo.</p>
  
  <p>For instance, when I run</p>
  
  <pre><code>git push
  </code></pre>
  
  <p>Git should ask the user</p>
  
  <pre><code>Did you run unit tests locally?
  </code></pre>
  
  <p>or something to that effect, so that I don't accidentally push code that is not unit-tested.</p>