Today I have switched from not fully using Gitlab to an instance of Gitea.
Mosty this is a choice for resources and since I did not use the full options of Gitlab anyway, just moved over.
if you are cloning and pushing through https, you can cache the credentials for a period of time.
git config credential.helper store
git config credential.helper 'cache --timeout 3600'