Python file merging tool based on git