I found this discussion: https://lore.kernel.org/git/[email protected]/
Yeah, I found cloning via git:// protocol worked, only cloning
via https:// failed. The solution is to put this in the
apache config for git-http-backend:
SetEnv GIT_CONFIG_COUNT 1
SetEnv GIT_CONFIG_KEY_0 safe.directory
SetEnv GIT_CONFIG_VALUE_0 *
Johannes

