The correct filename today should be: https://github.com/git-for-windows/git/releases/download/v$gitVersion.windows.2/Git-$gitVersion.2-64-bit.exe
The fix for this bug seems to have only worked for Git 2.24.1(2) specifically. Now that the current Git version is at 2.26.0 (and for most of the versions after 2.24.1), the current filename needs to have windows.1 instead of windows.2.
A best solution would be to add a check to see if the current version requires the windows.X to change.
Follow-up issue from:
https://github.com/IBM-Cloud/ibm-cloud-developer-tools/issues/152#issue-545043788 https://github.com/IBM-Cloud/ibm-cloud-developer-tools/pull/153#issue-359623928
The fix for this bug seems to have only worked for Git 2.24.1(2) specifically. Now that the current Git version is at 2.26.0 (and for most of the versions after 2.24.1), the current filename needs to have
windows.1
instead ofwindows.2
.A best solution would be to add a check to see if the current version requires the
windows.X
to change.