How to fix URLs of catalog images in Windows for Magento ≥ 2.3.0?

It is a part of How to fix catalog images in Magento ≥ 2.3.5 in Windows?

Step 1

How to adapt Magento\Catalog\Model\View\Asset\Image::getUrl() to Windows?

Step 2

How to adapt Magento\Catalog\Model\View\Asset\Image::getImageInfo() to Windows in Magento ≥ 2.3.0?

Step 3

How to adapt pub/get.php to Windows in Magento ≥ 2.4.2?