fatal: detected dubious ownership in repository at '/var/www' To add an exception for this directory, call: git config --global --add safe.directory /var/www