git: add 'refspec' argument

This argument may be used to fetch additional refs beyond the default refs/heads/* and refs/tags/*.
For example, useful to check out a GitHub pull request or Gerrit patch set.
Changed to 1.9.