@VisibleForTesting
  static Path getConfigHome(Properties properties, Map<String, String> environment) {
    return getOsSpecificDirectory(
        properties, environment, "XDG_CONFIG_HOME", ".config", "Config", "Preferences");
  }
Returns the default OS-specific config directory.

<p>For Linux, this is {@code $HOME/.config/google-cloud-tools-java/jib/}.

<p>For Windows, this is {@code %LOCALAPPDATA%\Google\Jib\Config\}.

<p>For macOS, this is {@code $HOME/Library/Preferences/Google/Jib/}.
jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/XdgDirectories.java