Sync Repositories Local and Public

Hello!

I have been looking for this issue and couldn’t find anything similar to my problem.

I have a gitlab.com account and also have installed gitlab in a linux server but it’s only accessible via VPN. I was wondering how can I sync projects between those two because gitlab’s mirroring doesn’t work in this case.

The reason is that I have projects that I will usually upload and keep up to date in gitlab.com but I need to keep a copy in my private repo.

Is this possible?
Thank you very much!