Fixing errors in bash. Adding ignore line for git.

* Wasn't doing a correct string compare for bash. Fixed now.
* For git, we want to ignore any config files; these shouldn't be pushed
  upstream.