Covalent Bonding occurs between non-metal elements at the valence level when the electrons are unpaired (paramagnetic) and tend to pair with another electron from a substrate element creating a diamagnetic pair. Using your example (methane, CH
4) the valence level electrons must undergo hybridization (change) in order to become paramagnetic and accommodate pairing of electrons forming a covalent bond. Consider the electron configuration of carbon
before hybridization (ground state configuration) C:[He]2s
22p
x12p
y12p
z0. This configuration has the 2s orbital full with paired electrons at one energy level (which can NOT accept additional electrons for bonding) and two 2p orbitals at another energy level with paramagnetic electrons. The geometry of the ground state orbitals would not accommodate addition of 4 Hydrogen atoms.
In graphic form, figure 1 below shows relative energy levels of the ground state orbitals in relation to hybridized orbitals. In order for 4 substrate Hydrogen atoms to each share their unpaired (paramagnetic) electrons with the valence electrons of carbon, the valence configuration of carbon must undergo hybridization, or change into 4
equal energy orbitals each having a paramagnetic unpaired electron. Think of this as putting fruit into a blender and allowing it to become homogeneous and then pouring the blend into 4 containers holding equal amounts of mix. The 2s and 2p orbitals 'blend' and become 4 equal energy sp
3 hybrid orbitals, each having a paramagnetic electron, each having equivalent shapes ( asymmetric figure eight ) and all connecting at the crossing apex of the fig-8 & arranging themselves in a tetrahedral geometry (figure 2) ready to accommodate 4 substrate Hydrogen atoms each also with a paramagnetic electron. When the sp
3 hybrid orbital bonds with the 1s orbital of Hydrogen, a Sigma Bond (σ-Bond) characterized by a line of symmetry through the nuclei of the bonding elements is generated.
Fig. 1 - Relative Energy Levels of Valence Level Ground State Orbitals and Hybridized Orbitals of Carbon.
Fig. 2 - Geometry of 4 Hybrid sp
3 orbitals.
4(sp
3 orbitals + 4s orbitals) overlap => 4σ-bonds
Hope this helps a bit. I've made other comments/posts about hybridization in other compounds back in January 2016.