Hi Cris,
Thank you for reporting the issue.
It looks, the pipe closes before it gets an output from git, but it works well for some other commands.
sudo git ls-remote
CEE5213S The signal SIGPIPE was received.
sudo git log -1
commit 0085cc0612dd7cff3c21eca2c6dc2d3481b8b6bd (HEAD -> master, origin/master, origin/HEAD)
Unfortunately, it's reproduced for sudo 1.8.6p3 and the latest ported version (1.8.21p2).
An internal issue was opened for this case.
Thanks,
Sergey