"git bisect" usually does the trick.