I want to Share a project to GitHub but it won’t work. When I do it with VCS -> Import into Version Control -> Share Project on GitHub it throws this exception
Can't finish GitHub sharing process Successfully created project 'Enigma' on GitHub, but initial push failed: firstname.lastname@example.org: Permission denied (publickey). Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
When I create a local Git repository with VCS -> Import into Version Control -> Create Git Repository… and add a remote via VCS -> Git -> Remotes… and add a repository via internet link and try to push it it throws this exception
Push rejected: Push to origin/master was rejected
I’m logged in with my GitHub account (https://imgur.com/a/f9KVqQa).
Can I also share a project to GitLab? Is this possible?