By default, the SELinux boolean git_cgi_enable_homedirs
is disabled.
If this setting is enabled, it should be disabled.
To disable the git_cgi_enable_homedirs
SELinux boolean, run the following command:
$ sudo setsebool -P git_cgi_enable_homedirs off