Unable to commit changes via git since update to 5.5.4

I’ve just updated to 5.5.4 and cannot commit anything to my local git repo ever since.
Before the update, I was running on 5.5.2 and had no such issue.

As you see, the changes themselves are tracked somehow.

Obviously, the newer version regards git as unconfigured, which is fundamentally untrue:

It may be worth noting that the remote here is unconfigured on purpose (Local only git history)

Any hints that this is an issue with 5.5.4? What could I miss here? Yesterday, everything was fine…

Short version: Using Git CLI instead of the unreal versioning UI showed that the head ref was not lockable, corrupted i guess. Had to delete .git/refs/heads/master. See here