When I try to publish my branch on Github using CTRL + P it comes up with this error message:
error: cannot lock ref 'refs/remotes/origin/main': unable to resolve reference 'refs/remotes/origin/main': reference broken
From https://github.com/AlexPD93/React-Dictionary
! [new branch] main -> origin/main (unable to update local ref)
Can anyone help me with how to fix it? Thank you!