How to update cURL on windows?
You can use where
on windows to find which version is being used.
WHERE curl.exe
You could fully qualify the specific cURL version you want to invoke, or remove the wrong version from PATH
.
Beware dumping everything in your PATH env variable - it's easier to set the path explicitly for the specific versions you want to use.
Try having a set_path.cmd file for each setup:
set PATH=[wherever_git_is];%PATH%
for when you want git and
set PATH=[other_curl];%PATH%
for when you want to use the other cURL.