changed git config path and the way of config generation