title: Git non-fast-forward updates were rejected Merge the remote changes
body: <p>How do I resolve this issue?  I am trying to commit but I get the below error.</p>
  
  <p>git push origin monty_svm_dev</p>
  
  <pre><code>To git@github.com:  ! [rejected]        monty_svm_dev -&gt; monty_svm_dev
  (non-fast-forward) error: failed to push some refs to
  'git@github.com:/mygit.git' To prevent you from losing history,
  non-fast-forward updates were rejected Merge the remote changes before
  pushing again.  See the 'Note about fast-forwards' section of 'git
  push --help' for details. root@li409-202:~/mypath#
  </code></pre>