Escape vars in generated git config