Making his first appearance in a Montgomery County courtroom, a Lansdale man entered not guilty pleas to homicide charges in connection with a domestic-related incident during which he allegedly broke into the borough apartment of his ex-girlfriend and fatally shot the woman’s new boyfriend in an exchange of gunfire.