Building git with curl-openssl

I would like to use git with https on a TLS 1.3 only host.

Is there a way to build git with curl-openssl instead of the Mac-provided curl?

You could copy the git formula to a personal tap and make it depend on curl-openssl

Indeed, thanks!

I did a quick test by reversing the condition that checks for Yosemite (i.e., < Yosemite to > Yosemite, which sets the right dependencies and variables) and replacing depend on curl with curl-openssl.