Sometimes you want to quickly share you local repository to others without pushing to a remote git repository. That's when you need to use→ .
This command runs Git Daemon that serves Git protocol at port 9418 (git://hostname/).
The selected repository is exported for read/write access without further authentication.
Your host might only be accessible within your local network and you might need to adjust your firewall.
You can find more information at git-daemon(1) man-page.