I faced a problem when making a pull request on Github.
I created a new GitHub repository for my new project. It is done by using the NetBeans IDE. When I was finished with my project, I committed it to local git and pushed it to the github repository that I had previously created via a separate branch. But when I'm going to make a pull request to merge that branch with the main branch, it says, "There isn't anything to compare. "Main and master are entirely different commit histories."
Note: When it is pushed there was only the ReadMe file in the Github repository.
How to resolve this problem?