One of the most that you have to perform when you work in a migration of in a concurrent development environment is to check the difference between two text files.
See wiki/Diff
The Git merge conflict resolution markings is a series of search/replace blocks.
<<<<<<< SEARCH
from flask import Flask
=======
import math
from flask import Flask
>>>>>>> REPLACE
--- mathweb/flask/app.py
+++ mathweb/flask/app.py
@@ ... @@
-class MathWeb:
+import sympy
+
+class MathWeb:
With the ins and del element, you can create visual diff.
Jedit can be use for this purpose with the plugin Jdiff.