add global ignore of git and hg