docker run -d -p 4080:80 -v /path/to/host/gitdir:/git ynohat/git-http-backend
FINALLY I FUCKING LOVE YOU MAN