Add ignore rule for notebook cache directory. Remove outputs, execution, count and other notebook JSON elements that cause spurious diffs. This is based on the automatic jquery cleaning at commit.
http://timstaley.co.uk/posts/making-git-and-jupyter-notebooks-play-nice/