Discrimination Free Git Platform
I would say that you best bet would be to have your university host a server running Gitlab, gitea, gogs, or something similar. It would take a bit of money and technical know-how to run the server, but at least you would be safe from embargos.