Paul uses the word for male children 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/jit/figs-metonymy]])
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.