the ones that aren’t Silicon Valley businesses currently in their “growth” phase will openly let you save off your entire collection of queries as plain text, and will ideally handle storage of this in git for you. After “growth” is “capture” where they turn free users into paid ones.
The number of people who get foaming-at-the-mouth angry over Microsoft because they did this in the 1990s and who also ignore the hundreds of companies doing this as part of the startup playbook is staggering.
Anecdote:
One of companies I worked for, smallish team size, due to different tools written in different languages needing all kinds of dependencies, docker was invaluable making the infrastructure easy to run without having those dependencies in the infra itself.
At least for Sweden the process is pretty straightforward (at least at the moment). Once you have a job offer, the offering company usually hires some lawyer or company licensed (to fast track the visa within a week, a month at max).
Drop me some contact info, I can refer you. At least you can go through the process and check it out.