Teach capture_plot about diff_dir
More git support