`git config --system --add safe.directory /srv/git/linux//.git` try using this command on maize to add the safe directory on system level.