I found online a couple of ways to import a remote repository to Eclipse, but none of them work. Whenever I try to connect remote repository with the local one, this error stops me.
If I try a different option other than "Import existing Eclipse project", like "Import using the new project wizard" or "Import as general project"), it also doesn't work for different reasons.
EclipseSource website suggest the following:
Please note that there needs to be existing projects in your repository, and if you use your own repository it might be empty, so you have to create an initial branch.
The problem is that I don't really understand what to do, since every single tutorial doesn't mention anything like that and I'm not familiar with git at all.