private void gitStatusToMessages(final Status gitStatus,
                                     final List<Message> messages) {
        for (var filename : gitStatus.getUncommittedChanges()) {
            messages.add(new Message(Severity.INFO, "Changed: " + filename));
        }
        for (var dirname : gitStatus.getUntrackedFolders()) {
            messages.add(new Message(Severity.INFO, "New folder: " + dirname));
        }
        for (var filename : gitStatus.getUntracked()) {
            messages.add(new Message(Severity.INFO, "New file: " + filename));
        }
        for (var filename : gitStatus.getMissing()) {
            messages.add(new Message(Severity.INFO, "Deleted: " + filename));
        }
        for (var filename : gitStatus.getModified()) {
            messages.add(new Message(Severity.INFO, "Modified: " + filename));
        }
    }
Puts the git status into the messages to send back to the user.

@param gitStatus The status of the repo after export.
@param messages  The list of messages to return to the user.
stroom-gitrepo/stroom-gitrepo-impl/src/main/java/stroom/gitrepo/impl/GitRepoStorageService.java