Minigitdiff is a powerful command-line utility used to display the differences between two files written in python.
pip install minigitdiffminidiff file1.py file2.pyFor example, if you modified a python file but then forgot the modification, you can use minigitdiff to visualize differences of two files in terminal.
You can use minigitdiff on your local projects without need of saving to git.