http://nbviewer.ipython.org/github/fperez/reprosw/blob/master/Version%20Control.ipynb