CH4 has four covalent bonds. This is because carbon has four valence electrons, and each hydrogen atom has one valence electron. In order to achieve a stable electron configuration, carbon shares its four valence electrons with the four hydrogen atoms, forming four covalent bonds.