A judge has sentenced a Berkeley County man who was convicted in the 2021 murder of his girlfriend in Goose Creek.