git daemon

A really simple server for Git repositories. More information: https://git-scm.com/docs/git-daemon.

git daemon --export-all {{path/to/directory1}} {{path/to/directory2}}

git daemon --base-path={{path/to/directory}} --export-all --reuseaddr

git daemon {{path/to/directory}} --enable=receive-pack --informative-errors --verbose