Whenever I click push files to GitLab, first IDEA prompts me to enter login credentials.
This dialog window always pop up 3 times after clicking OK. login and password are correct. And after that I always get this error message:
Cannot even add remote in IntelliJ:
But I can "git add" and commit changes in IntelliJ.
Edit: The solution is to use https://git-scm.com/docs/git-credential-store. IntelliJ push now works after that.