Curl in Pipe under Windows

Dear users,

I tested the cited code under macOS.
How can I use this code in Windows? ‘curl’ does not seem to work under Windows even though I installed git from https://git-scm.com/.