1500/endgame questions

Sort:
Avatar of eridpnc
Hi there, had mostly questions about the endgame, in the board below. I know that in general it was a very inaccurate game, but I can understand why all my mistakes were wrong.
Here is what I don't understand:
At 24. I played H5
The computer says the best move is bg6 and that h5 in this position and many others is a mistake. If bg6, I thought that it would be too hard for my king to get to the C pawn. It also says that H5 isn't a good move at all, which is confusing. At first, I thoguht it was because the pawns should be on light squares so the king would not be checked but h6 G5 is also a bad move to the computer, and it thinks that it is too early to get the king out. How do you know when it is too early/late? Also, I was scared that the black king could get to the C pawns before I did, how do you know that black can't get there/wouldn't be good for him to move his king there?
General tips for accuracy/play would also be appreciated!
Avatar of magipi

Look at the engine lines. The engine wants to push the c-pawn. And it can't be done while your bishop is on d3, as the bishop would be hanging.