California law for child custody governs the arrangements made for the care and custody of children after a divorce or separation. It determines which parent or guardian will make decisions for the child and where they will live. The court considers factors such as the child's best interests and the ability of each parent to provide a safe and stable environment.