title: git: key does not contain a section
body: <p>I am using Git version 1.8.4.2.</p>
  
  <p>When I press <kbd>tab</kbd> to auto complete any command, it prints the error below and it also completes the command.</p>
  
  <blockquote>
    <p>error: key does not contain a section: --get-regex</p>
  </blockquote>
  
  <p>Can anyone please help to avoid this error?</p>