Build error "Failed to read Git log: fatal: not a git repository" (netlify)

My hugo webpage has been working fine for a couple of years now. I update it frequently and never encountered this error. For the last couple of days I am getting an error when building the page using netlify. Did anyone face this issue recently? How did you solve it?

The deploy log from netlify includes the following error:
“Failed to read Git log.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: could not fetch 46c8cf461883fe3c30c263ba91b54ab76654b38a from promisor remote”

Thank you for your help!

It looks like you have already raised the issue with Netlify: