What Exactly Did Fredo Do To Betray Michael In The Godfather?

He did not intend to have Michael killed (later in the movie, he pleads to Michael that he had no idea there would be a hit) rather he just wanted something for himself – to make a good figure or take a bit of advantage for himself out of the deal.