Error on saving project - Corrupted loose reference file: refs/heads/master (v2022)

My v2022.12.4 system has started popping up an error message box reporting “Corrupted loose reference file: refs/heads/master” when I back up projects.I thought there might be some corruption in the project files so I tried opening and saving copies of the projects I’d saved yesterday (before this error started appearing), but the same dialog displays when saving those project files too.Despite the error, the projects do seem to save / load / generate with no apparent issues, but I’d like to fix whatever’s causing it if possible - has anyone else experienced this?

https://discourse.hkvstore.com/t/error-saving-project/2160/1