There isn’t anything to compare.
Mar 16, 2021
My-Company:main and coroo:main are entirely different commit histories.
Does this happen to you?
If yes, then it looks like GitHub won’t let you compare the branches because they don’t actually share any of the same history at all, even though they may share much of the same files and code.
Solution
I found the solution by running in my local command prompt:
git pull origin main --allow-unrelated-histories
then push it again into your github
git push origin main