Please, add the opposite case
```other.compareTo(commit)```