Don't use the Jupyter Notebooks for something you want to version control it. It's like a one-line Perl script. Write, run and delete.
If you need more than that, use the plain text file source code.
Actually, just forget the Jypyter Notebooks and use good old plain text source code like the rest of the programmers.