There are topics out there, which are related to this issue but non of them suggest an exact way to solve the problem.
I have several private projects and encountered with that issue on any of them. But when I try to push my local commits to my latest private repo, I get this error from the command line in the last 5 days:
GitLab: API is not accessible fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Deleted the projects and created new ones, but had this issue again.
Any help appreciated.