private void update(List<DomainFile> domainFiles) {
		if (!checkRepositoryConnected()) {
			return;
		}

		List<DomainFile> updateList = new ArrayList<>();
		for (DomainFile domainFile : domainFiles) {
			if (domainFile != null && domainFile.canMerge()) {
				if (!canCloseDomainFile(domainFile)) {
					continue;
				}
				updateList.add(domainFile);
			}
		}
		AppInfo.getFrontEndTool().merge(tool, updateList, new TaskListener() {

			@Override
			public void taskCompleted(Task task) {
				// don't care
			}

			@Override
			public void taskCancelled(Task task) {
				// don't care
			}
		});
	}
Gets the list of domain files from the provider and updates each file 
by merging the changes from the repository into the current copy.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/VersionControlUpdateAction.java