Tweak PROMPT_COMMAND for Cygwin.

Add .gitignore.