Paul uses the word for male child here because the subject is inheritance. In his culture and that of his readers, inheritance passed most commonly, but not always, to male children. He was neither specifying nor excluding female children here.
The heart is metonym for the part of a person that thinks and feels. Alternate translation: "God, to show us how to think and act, has sent his Son's Spirit" (See: [[rc://en/ta/man/translate/figs-metonymy]])
This is an important title for Jesus, the Son of God. (See: [[rc://en/ta/man/translate/guidelines-sonofgodprinciples]])
# who calls
The Spirit is the one who calls.
# Abba, Father
This is the way a young child would address his father in Paul's home language, but not in the language of the Galatian readers. To keep the sense of a foreign language, translate this as a word that sounds as much like "Abba" as your language allows.