It strongly looks like there is a problem with the 2 commits on my remote Balena git repository. So the problem is not at my end or specific to the changes I have made to my git repository.
See also the comment from @thiver who reported a similar issue.
I also created a new branch not including the 2 commits and that I could push without a problem to balena.