bash: do a better job of detecting Git Bash