Child custody law is the branch of law for the care or control exercised by a person or authority over a child.