docs: def git_check():
      """
      Check that all changes , besides versioning files, are committed
      :return:
      """
  
      # check that changes staged for commit are pushed to origin
      output = local('git diff --name-only | egrep -v "^(pynb/version.py)|(version.py)$" | tr "\\n" " "',
                     capture=True).strip()
      if output:
          fatal('Stage for commit and commit all changes first: {}'.format(output))
  
      output = local('git diff --cached --name-only | egrep -v "^(pynb/version.py)|(version.py)$" | tr "\\n" " "',
                     capture=True).strip()
      if output:
          fatal('Commit all changes first: {}'.format(output))