git: fix brewed-curl option SSL failures.

Closes #22704.
Closes #22713.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>