Who becomes governor when a governor dies?

It depends on the state. Most states have a Lieutenant Governor, who remains prepared to take over as Governor in the event that the Governor cannot or will not complete his/her term, the same way the Vice President remains prepared to take over as President.