In the latter case, from a strictly economic standpoint, you'd prefer workers to pay you (eg us prison labour...).
In a strictly value-add/profit share the more value a worker produce, the higher the compensation and the higher the company revenue.
Now software business (knowledgewwork) is typically somewhere on the scale between these two.
I'd personally say that given gitlab's product and business - they would probably be better off leaning a bit more towards the latter - allow a great softare engineer in rural UK or eastern Europe get (locally) silly rich;and allow those that feel like it to move to less crowded locations without docking their compensation. As long as they only get a share of generated added value, this should be a win-win.
But I am not the owner of gitlab.
It's not true for every industry (e.g. Games), but definitely true for most.
In Gitlab's case it's 100% true.
If a SF company wants to hire me remotely, I'll take the job at 1.5X, so they won't pay more than that. The simple reason is this: If I don't want the job at 1.5X the local pay, I my neighbor does, and he's every bit as good an engineer as I am. When they do hire me at 1.5X my current pay, they have bought my skill at the local market rate.
Taking that further: as a human you are also part of the physical community that you live in. A developer in a small town might help out the local library, whereas a developer in a big city might organize tech meet-ups to help their peers.
I'm not saying one situation is better than the other, but I can imagine not just different price points, but also different valuations for equal skill depending on location.