The Roman god associated with doorways and transitions who gives January its name is Janus.
Janus was a Roman deity of beginnings, passages, transitions and endings. He is commonly depicted with two faces, one looking forward and the other backward. That imagery made him a natural symbol for the turn from one year to the next, although Roman New Year customs changed over time.
The Latin name for January is Ianuarius, derived from Janus. The month became the first month of the Roman calendar after calendar reforms associated with the Roman king Numa Pompilius and later Julius Caesar. January 1 became especially important for Roman civic life because newly elected consuls entered office on that date from 153 BCE.
Janus is not the same figure as Saturn, whose festival Saturnalia was held in December, or Mars, who gave March its name. The two-faced image does not mean Janus was regarded simply as deceitful; in Roman symbolism, it represented his ability to oversee opposite directions and moments of change.