En passant if the pawn is on f5 instead of f6. g5 (or Ng2) is checkmate.
Does move g5 by black end the game?

I thought that white could remove the g5 black pawn en passant when it is played, but after computer analysis it appeared that g5 is checkmate and black is not allowed to remove the pawn en passant. I am supprised that it is checkmate suddenly!
Man keep on learning
No, "en passent" isn't possible in that situation. If the White pawn was on f5, "en passent" would've been possible. So, ...g5# is checkmate.
I thought that white could remove the g5 black pawn en passant when it is played, but after computer analysis it appeared that g5 is checkmate and black is not allowed to remove the pawn en passant. I am supprised that it is checkmate suddenly!
Man keep on learning