[git] Disable the safe directory check.
When working with a remote repository, git checks whether user
handling the request is also the owner of the git repository. This is
a problem when serving the repositories through ssh and http. The
former handles requests as user git while the latter as the user of
the webserver (e.g. www-data for nginx). Setting git as the owner of a
repository break serving through http, and vice versa. This commit
disables the check [1].
[1] https://stackoverflow.com/a/
71904131