Works fine on 4.1.0
Environment:
macOS Big Sur 11.2.3
git version 2.31.1
Happens also with: git version 2.24.3 (Apple Git-128)
trusted_tester