Answer:Through Covalent Bonding
Explanation:
Both Hydrogen can achieve a stable configuration with 2 electrons by each sharing their electrons.
The name of this bonding is called covalent bonding. In this type of bonding, each participating entity (in this case, the hydrogen atoms) donates their valence electrons (the one valence electron in the hydrogen atoms) then share the total electrons (1 + 1 = 2).