Meta interview question

Given an array of commits, return the first bad commit?