title: Add a file named "--" to a git repository
body: <p>I have created a file a gave it the name <code>--</code>. How can I add it to the git repository?</p>
  
  <pre><code>$ git status
  On branch master
  
  Initial commit
  
  Untracked files:
    (use "git add &lt;file&gt;..." to include in what will be committed)
  
          --
  
  nothing added to commit but untracked files present (use "git add" to track)
  </code></pre>
  
  <p>I know that I could do <code>git add .</code>, but I don't want to. I want to know how to specifically add this file, named <code>--</code>.</p>
  
  <p>I tried:</p>
  
  <pre><code>$ git add --
  Nothing specified, nothing added.
  Maybe you wanted to say 'git add .'?
  $ git add "--"
  Nothing specified, nothing added.
  Maybe you wanted to say 'git add .'?
  $ git add '"--"'
  fatal: pathspec '"--"' did not match any files
  $ git add \-\-
  Nothing specified, nothing added.
  Maybe you wanted to say 'git add .'?
  </code></pre>
  
  <p>So, how to add a file named <code>--</code> to prepare it for commit?</p>