Issue
How did developers share their local git repositories with others before GitHub(or any web-based hosting service for version control using Git)?
Solution
It was always possible to share a repo using HTTP with a fairly minimal web server setup. Or you could set up an SSH server. Or use a shared folder (though you would still want to put a bare repo on the file share, and then make clones for each developer's local).
(You also could transfer info back and forth on discs or USB drives, or any other method. You generally wouldn't share the entire repo this way, though; you would create "bundle" files and share those, and the receiving end would treat the bundle like a remote repo.)
Hosting services like GitHub just build on these transport options that were built into git beforehand; what the services really add isn't basic remote access, but rather things like access control, workflow, etc.
Answered By - Mark Adelsberger