I think that UK does not impose those sanctions, could be worth investigating and hosting a GitLab on a server in UK.
I don't think the UK is in a much better position due to its close ties with the US.
Some have suggested gitlab as an alternative, and I've seen they have attempted to make it easy to migrate from github, but wikipedia indicates they're also US based and so directly subject to the control of the US government.
Has someone come up a list of alternatives, with an indication of their exposure to the US government's decisions?
 Having said that, at least if you're a UK citizen, you have some influence with the decision makers. If you're not a US citizen, it is unreasonable to be subject to the decisions of the US government when you have no influence on them, so choosing services based elsewhere only makes sense (IMO). It reminds me of the phrase, 'no taxation without representation'.
GitLab CE seems to be licensed under the terms of MIT license; I guess that's acceptable or?
Well, I meant using them as a hosting service, like github, rather than using their s/w on my own servers. The latter would be ok, but isn't really a replacement for github.
I thought gitlab used to be open source before and available for download; that's why I suggested it. Maybe I mixed it with something else, it's been a while since I used it, sorry.
No, that's cool...but being open source isn't enough, since to replace github requires providing hosted services.
Yes that's whay I had in mind, wanted to do it myself since I have one server (VPS) that isn't doing anything really and is in London. The problem is the provider, Linode LLC, which is a USA registered company.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.