Back up to the point where all the tests were passing, of course? Then debug.
or git bisect until you get the exact commit that introduced it
or git bisect until you get the exact commit that introduced it