Add opt out for git integration in GemHelper

Resolves https://github.com/bundler/bundler/issues/3069.