respond to review
respond to review

Incorporate suggestions by alex and frederic to move strip_and_split and simplify the status method.

jupyterlab/jupyterlab-git,jupyterlab/jupyterlab-git,jupyterlab/jupyterlab-git