I implemented the oauth2 web flow in order to get access_token from users of my app. With the access_token, I would like to do the following actions:
It is also possible to push directly without adding a new remote repository:
git push https://gitlab-ci-token:@gitlab.com/myuser/myrepo.git
This could be especially handy if you would like pull & push to different repositories.