If you do not mind the Microsoft sale, Github will be just fine
There are many others. Why not GitLab or Aminet?
And Gitlab is hosted on Azure.
Microsoft is lately much more open to open source and linux. If you really want to 'avoid' Microsoft I think Aminet would be the safest ;)