I am on mac OS unlike this post:
I have password configured in GitLab.
I have SSL key created AFTER the project was made on GitLab.
When I use an existing folder for a new project and follow the steps below:
Existing folder
cd existing_folder
git init
git remote add origin https://gitlab.com/sobopla/Geronimod.git
git add .
git commit -m "Initial commit"
git push -u origin master
I am prompted to enter my GitLab username and password. After password is entered I get:
remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://gitlab.com/myname/myproject'