How to access files on GITLAB private repositories with Access-Tokens:
Go on gitlab and generate access token
Make sure you copy the code and store it somewhere safe. You cannot display the token any more, but only to regenerate another one
curl --header "PRIVATE-TOKEN: <my_access_token>" https://gitlab.com/snippets/<snippet_id>/raw | bash -