Handle different git configs for different versions