Installation of esp8266 stage failed with git error

I have not been able to install esp8266 stage version since Dec 24.
It seems there is some problem with the official ESP8266 Arduino repo.
Under PIO/VSCode, I receive:

PackageManager: Installing framework-arduinoespressif8266
git version
Cloning into 'C:\Users\Baoshi\.platformio\packages\_tmp_installing-7v6vvf-package'...
remote: Counting objects: 1298, done.
remote: Compressing objects: 100% (1077/1077), done.
remote: Total 1298 (delta 154), reused 861 (delta 96), pack-reused 0
Receiving objects: 100% (1298/1298), 17.73 MiB | 4.50 MiB/s, done.
Resolving deltas: 100% (154/154), done.
Checking connectivity... done.
Submodule 'lwip2' ( registered for path 'tools/sdk/lwip2/builder'
Cloning into 'C:/Users/Baoshi/.platformio/packages/_tmp_installing-7v6vvf-package/tools/sdk/lwip2/builder'...
Submodule path 'tools/sdk/lwip2/builder': checked out '11d2224d2072192a668ea6f9f99f43fdf78b3c90'
Submodule 'lwip2-src' ( registered for path 'tools/sdk/lwip2/builder/lwip2-src'
Cloning into 'C:/Users/Baoshi/.platformio/packages/_tmp_installing-7v6vvf-package/tools/sdk/lwip2/builder/lwip2-src'...
error: no such remote ref 92f23d6ca0971a32f2085b9480e738d34174417b
Fetched in submodule path 'tools/sdk/lwip2/builder/lwip2-src', but it did not contain 92f23d6ca0971a32f2085b9480e738d34174417b. Direct fetching of that
commit failed.
Failed to recurse into submodule path 'tools/sdk/lwip2/builder'
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '', 'C:\\Users\\Baoshi\\.platformio\\packages\\_tmp_installing-7v6vvf-package']
The terminal process terminated with exit code: 1

The real reason seems like (GitHub - d-a-v/esp82xx-nonos-linklayer at 11d2224d2072192a668ea6f9f99f43fdf78b3c90) / lwip2-src is linking to some unknown version.

How can I solve this problem?


Update git for windows solves the problem