.gitignore: Rename from '.hgignore'

Also remove 'syntax: glob'.  From gitignore(5):

  If the pattern does not contain a slash /, git treats it as a shell
  glob pattern and checks for a match against the pathname relative to
  the location of the .gitignore file (relative to the toplevel of the
  work tree if not from a .gitignore file).