I think you may be mixing up git, which is a command line tool that’s still open source, AFAIK, with github that’s a closed source, git-based code hosting platform bought by Microsoft.
You can use other hosting services with git, and get an almost identical experience. Gitlab does it, as well as many others.
boonhet@sopuli.xyz 2 days ago
It’s such a simple reason tbh. Github is expected to stay online indefinitely. My VPS? As long as I pay the bill, which I may not want to at some point.
Codeberg is a decent middle ground - open source projects only. The site itself is open source too.