Configure your system to look like following to make sure that Notebooks will always be pushed to GitHub without their output. This will make for smaller saved files, but more relevantly, also ones that are easier to diff (and that git will merge more cleanly).
% cat ~/.gitattributes
*.ipynb filter=dropoutput_ipynb
% cat ~/bin/ipynb_output_filter.py
#!/usr/bin/env python
import sys
version = None