Hacker News new | ask | show | jobs
by parliament32 2059 days ago
Git has no idea about a "the main upstream repo", that's a Github-et-al invention. Git will happily push/pull to a bunch of other peoples' repos with no "main" or central part at all.

If you've grown up in the Github era you've probably never seen multiple remotes, but here you go: https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remot...