public string FindNoCommitedFiles() { var result = ""; var breakLine = ""; foreach (var directory in DirectoriesPaths()) { GitRepository repository = new GitRepository(directory.Value); result += breakLine + directory.Key + " : " + repository.ModifiedFiles().ToString(); breakLine = ";"; } return result; }