Hosting git Git Repositories
As soon as you and your colleagues learn how to commit, use branches, and work with remotes, you will want to use git as a group. In this chapter, I will show how to set up a virtual host for sharing git repositories with others.
Git can work with ssh, http, https, and git network protocols. To choose the best solution for your needs, you will have to answer two questions:
- Do you want to host repositories with read/write access for authenticated users only (i.e., without anonymous public access)?
- Do you want to host repositories that have anonymous public read-only access?
If you want to host repositories ...