Adding catch callback in SettingsDialog when git fails.
Adding async checking the preferences to show the Settings or Change log
dialog if needed. This check is performed in the .then callback for
as a success when setting git path, and in the .catch callback when a
failure is detected. This enables to show the error dialog on top the
settings dialog.