After the husband and the wife effect a divorce, one party or both parties of the parents will exercise the rights or assume the duties in regard to the minor child by mutual agreement. If the mutual agreement did not or could not be done, the court may decide by the applications of the husband or the wife, the authorities concerned, the social welfare institution or any other interested person, or may decide by its authority.