t7508: use test_config to set/unset git config variables