For first commit parent is null