https://sfconservancy.org/GiveUpGitHub/
Great article on why FOSS devs should give up GitHub.
I agree, it is hard (due to years of lock-in, cultural inertia, marketing dollars, etc.) but we cannot give Microsoft any more of an inch. This is especially true given that they train their LLMs on your code.
A great FOSS alternative is https://codeberg.org
Related article:
https://opensource.com/business/16/11/open-source-not-free-software
Astin