git-daemon is a simple server for git repositories.
The daemon makes git repositories available over the
git:// protocol, which is very efficient, but insecure. Where security is a concern, pull with SSH instead. The
git:// protocol listens on port 9418 by default.
The daemon can be configured to allow pushing, however there is no authentication whatsoever, so that is almost always a very bad idea. It may be appropriate in a closed LAN environment, where everyone can be trusted, however when in doubt, SSH should be used to push.