untracked and git_diff_num_deltas return size_t (unsigned) value, so you can't that the value is less than zero