class Bundler::Source::Git

def install_path

repos, this is set to the local repo.
checkout of the git repository. When using local git
This is the path which is going to contain a specific
def install_path
  @install_path ||= begin
    git_scope = "#{base_name}-#{shortref_for_path(revision)}"
    path = Bundler.install_path.join(git_scope)
    if !path.exist? && Bundler.requires_sudo?
      Bundler.user_bundle_path.join(Bundler.ruby_scope).join(git_scope)
    else
      path
    end
  end
end