public void GitStatus() { if (!IsDestinationFolderSet()) { return; } try { IsWorking = true; GitGetRemote(); GitProcess.Excecute(DestinationFolder, "status", out string output); CheckGitOutput(output); GitOutput = output; List <string> modifiedFiles = GitProcess.CheckModifiedFilesFromOutput(output); SetModifiedFiles(modifiedFiles); } catch (Exception ex) { _dialogService.ShowErrorMessage("Git Status Error", ex.Message); } finally { IsWorking = false; } }