python notebook files and git
It is probably best to avoid commiting ipynb files containing output data; every time the notebook is run, notebook cells output data are modified, and the notebook is considered modified by git.
Solutions to fix this:
- https://github.com/kynan/nbstripout : remove any output from ipynb file (pre-commit hook); donwnside is that any team member must install nbstripout
- https://towardsdatascience.com/version-control-for-jupyter-notebook-3e6cef13392d
- https://www.svds.com/jupyter-notebook-best-practices-for-data-science/