Map.Entry<String, DatabaseBranch> winnersBranch = determineWinnerBranch(allBranches); purgeConflictingLocalBranch(localBranch, winnersBranch); applyWinnersBranch(localBranch, winnersBranch, databaseVersionLocations, cleanupOccurred, preDeleteFileHistoriesWithLastVersion);