Gallium has 31 electrons, arranged 1s2 2s2 2p6 3s2 3p6 3d10 4s2 4p1. Written on the previous noble gas that is [Ar] 3d10 4s2 4p1, and the shells hold 2, 8, 18, 3 electrons from the innermost outwards.
Hund's rule leaves 1 unpaired electron in the ground state, which is what makes the free atom paramagnetic.
The periodic table, read every way a chemistry course asks for. This tool needs JavaScript; these are the pages it offers: