Warning in the Command line 'ignoring ref'

I pushed up the main branch from local (jdbranch) and now I am getting duplicate branches with this warning:

warning: ignoring ref with broken name refs/heads/jdbranch 2
warning: ignoring ref with broken name refs/heads/jdbranch 3
warning: ignoring ref with broken name refs/heads/jdbranch 4
warning: ignoring ref with broken name refs/heads/jdbranch 5
warning: ignoring ref with broken name refs/heads/jdbranch 6
warning: ignoring ref with broken name refs/heads/jdbranch 7
warning: ignoring ref with broken name refs/heads/jdbranch 8
warning: ignoring ref with broken name refs/heads/main 2

Has anyone run into this problem and know how to resolve this issue without losing data?

Thank you very much