title: How to detect a forced update
body: <p>When a branch history is changed on the remote, you typically get</p>
  
  <pre><code>o git@git.server.com:XXXXX/Project.git
   + efe2e8b...cda0ee7 HEAD -&gt; Ant_Config_processing (forced update)
  </code></pre>
  
  <p>Is there any way to get this (forced update) status using scripting ?</p>
  
  <p>The idea is to write an alias that detects it and prompt the user for actions.</p>