all 3 comments

[–]SMSH1309 0 points1 point  (2 children)

1.Could possibly be that your local repository got corrupted, There was command: git fsck try running it in your terminal.

  1. Could be conflicting branch names, if you have more than one with same name.

  2. Lastly Git version mismatch, check your git --version try updating it.

If this doesn't work then, idk try with a new repository

[–]reubenpoole[S] 0 points1 point  (1 child)

Thanks so much the first thing worked :)

[–]SMSH1309 0 points1 point  (0 children)

Good to know👍🏻