It’s an expression mostly used in American English. When you say that something is not over till the fat lady sings, what you mean is that you can’t be sure of the result till the very end. Though you may seem as if you are losing, you might end up winning.
Example: We need to get 150 runs in 10 overs. As they say, it’s not over till the fat lady sings.