title: Use of apostrophe (single-quote) in a Git commit message via command line
body: <p>I am trying to take <a href="https://stackoverflow.com/questions/5131948/use-of-an-exclamation-mark-in-a-git-commit-message-via-the-command-line">this</a> one step further. How could this work in a standard Bash shell?</p>
  
  <pre><code>git commit -m 'cracked enigma's code'
  </code></pre>
  
  <p>Could this simply be done with backslash-escaping like the following?</p>
  
  <pre><code>git commit -m 'cracked enigma\'s code'
  </code></pre>
  
  <p>Further, how could double-quotes be used? Also by backslash-escaping? Would that be the best way? Are there any good alternative ways?</p>
  
  <pre><code>git commit -m 'cracked the "real" enigma's code'
  </code></pre>