Basic example .gitlab-ci.yml git clone is not working


I am using the sample .gitlab-ci.yml.

I am struggling to make the git clone to work, I encountered this error:

remote: HTTP Basic: Access denied
fatal: Authentication failed for ''

My gitlab-runner is working fine and I am using shell executor (I did also try using the docker).

I spent much time reviewing the documentations, I felt this is very basic and should supposedly work out of the box. Please any hint is appreciated.

Do you use an authentification method (token for example) to clone your repo?