gitlab authenticate with token code example
Example: you must use a personal access token with 'read_repository'
[remote "origin"]
url = https://oauth2:[email protected]/yourself/yourproject.git
[remote "origin"]
url = https://oauth2:[email protected]/yourself/yourproject.git