title: Git add error - unknown switch
body: <p>I just did <code>git init</code> inside of my existing project directory and I wanted to add all of the .php and .js files to be tracked. So I then ran <code>git add *.php *.js</code>, that didn't work.. so I just tried <code>git add *.php</code>, which didn't work either. It returns an error saying <code>error: unknown switch s'</code>.</p>
  
  <p>However, if I specify a file with <code>git add lol.php</code>, it works fine. How can I recursively build my directory structure and track my files with git?</p>