I think that the problem is using Ubuntu LTS that will be soon deprecated (04.2023, only 8 months left) on desktop instead of upgrading to one of the newer versions.
I had a similar issue when switching to SSH signing. My primary WSL2 instance is Ubuntu-20.04; git is “stuck” on an old version that doesn’t support ssh singing. So now I’m in the process of copying over my stuff to a new Ubuntu 22.04 WSL instance :))
Just deleting the line in .gitconfig does not work?
I enjoy building and using git from source. It’s supper easy to setup (make install) and i get to use latest features, sometimes during development. Strongly recommend it.
The author can’t use SSH signing because OpenSSH is too old.
Ah i guess i was trying to recommend folks to ‘live at HEAD’ but failed in writing that out. 🥲