If a garnishee shall pay over or deliver, in pursuance of the judgment or process of the court, any money or property belonging to the defendant, before notice of sale, assignment, or transfer thereof by the defendant to any other person, such garnishee shall not thereafter be liable for the debt or property to the vendee or assignee thereof.