```php
$status = $latestCommit ? $latestCommit->getStatusCode() : 'unknow' ;
```