Check diff before syncing.
Merge pull request #3 from lemonde/check-diff-before-sync

Check diff before syncing