Update git and hg configs with new configuration