Git submodule seems to be extremely slow on Windows.
To test the performance I created 3 bare repos and committed 3 independent messages to them (no files stored). I then added each of these bare repos as submodules in a new git repo and performed a submodule update and it took over 5 seconds.
This seems excessive and very noticeable when using 20+ submodules. What could be causing it to take so long?
Example files: https://drive.google.com/file/d/1n6fAm16tXtt_1YvXbPHhn150iuw-VGOk/view
Run 'git submodule update' inside 'Submodule test'. All submodule URLs in the test are relative.
Running Git version 2.22.0.windows.1 and version 2.23.0.windows.1
Edit:
Tested using regular command line, git bash (as shown), PowerShell and TortoiseGit.
Tested with simplified PATH as suggested by VonC.