How to do a git diff like string comparison in python

Published --