class Bundler::Env

def git_version

def git_version
  Bundler::Source::Git::GitProxy.new(nil, nil, nil).version
rescue Bundler::Source::Git::GitNotInstalledError
  "not installed"
end