In a divorce, what is child custody and how will it be determined?

To have custody of the child means that that person will have authority in making major decisions regarding the child. Some of these decisions include matters concerning education, religion and healthcare.
In deciding the custody, the Court will place paramount consideration on the welfare of the child.
The child's welfare should be understood broadly. It is not only measured in terms of money or material comfort, but also in terms of the child's moral, religious and physical well-being along with his/her ties of affection. Where necessary, the judge may ask for social service reports or counselling sessions to assess the child's and parents' state and the type of custody order suited for them.
Sole Custody means that one parent will be the sole decision-maker for major decisions concerning the child.
Joint Custody means that both parents are the decision makers for major decisions concerning the child. Hence, both parents should communicate with one another and reach a consensus when making decisions.