Check core.excludesfile git configuration for ignore file

Fixes #159