def test_git_clone_naming_assumptions
    in_temp_dir do |_path|
      setup_test_repositories

      GIT_CLONE_COMMANDS.each do |command_data|
        command = command_data[:command]
        expected_path = command_data[:expected_path]

        output = `#{command} 2>&1`

        assert_match(/Cloning into (?:bare repository )?'#{expected_path}'/, output)
        FileUtils.rm_rf(expected_path)
      end
    end
  end
Git::URL.clone_to makes some assumptions about how the `git` command names
the directory to clone to.  This test ensures that the assumptions are
correct.