# File lib/bundler/source/git/git_proxy.rb, line 61
        def checkout
          if path.exist?
            return if has_revision_cached?
            Bundler.ui.info "Updating #{uri}"
            in_path do
              git %|fetch --force --quiet --tags #{uri_escaped} "refs/heads/*:refs/heads/*"|
            end
          else
            Bundler.ui.info "Fetching #{uri}"
            FileUtils.mkdir_p(path.dirname)
            clone_command = %|clone #{uri_escaped} "#{path}" --bare --no-hardlinks|
            clone_command = "#{clone_command} --quiet" if Bundler.ui.quiet?
            git clone_command
          end
        end