I cloned a repo to my computer:
git clone <repo>
Then I created a new repo on Github.
In my cloned repo I assigned a remote origin:
git remote <new repo>
I got two branches: main (marked as 'default' on Github) and master.
I started working with master. Everything was fine, I could even 'push' my changes. But when I tried to create a pull request to merge master into main.
I didn't get a PR button and got the notification that
There isn’t anything to compare.
main and master are entirely different commit histories.
I tried to find a solution, but because of my lack of experience with Git I can't decide if one of them fits in to my problem. Here are many [examples][1].
How can I merge my changes from master into main?