What is the source of knowing how to breathe properly?

This is a quote from Genesis Chapter 2. Verse 7: “Then the Lord G-d formed the man (of) dust of the ground, and breathed into his nostrils the breath of life; and the man became a living soul”.

Breathing is an automatic involuntary process, which, if not done correctly, can be changed voluntarily with understanding and perseverance.