I believe the `check_success=True` will cause git.git to throw an error if not successful, so this code would not be reached.