Where is source code for git hosted ? Is it at github or some other sites?

Viewed 77
1 Answers

https://git.kernel.org is correct, specifically https://git.kernel.org/pub/scm/git/git.git/.

https://github.com/git/git has "About" text that indicates it is a mirror:

Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/).

git-scm.com seems to be only semi-official: It's linked from the source tree's README but per the About this site link at the bottom, git-scm is an open-source third-party piece of documentation that became the Pro Git book (advertised in the left column). Since the official repo is based on cgit and is relatively minimal in its UI, I imagine GitHub and git-scm are more welcoming to newcomers and thus more popular.

Related