How to check an IPython notebook into git, suppressing the output. This is what I use. See the instructions in the script. Inspired by this.