Add HEAD ref if missing when committing .gitignore
Add HEAD ref if missing when committing .gitignore

This prevents disconnected history when subsequent commits are
added to a repo created via the unconventional, but still valid,
method of calling git-tfs init with a --gitignore argument.

git-tfs/git-tfs,PKRoma/git-tfs