When using http:// or any other “dumb” protocol, git needs to set up files so a client knows what refs and packs are available.
cp post-update.sample post-update
chmod +x post-update
#exec git-update-server-info git update-server-info