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