The essential thing is to keep your mind on God. Heart means what I want, Mind means what I am thinking about. He concludes the chapter with this verse: Vai rishu yaggyeshut appasu civa dani shuyat punya phalam pradishtham ati eititatsarum idam viditvah yogi paramstham upeitich adhyam. Whatever good karma comes out of it, whatever is indicated in the scriptures, all these gives rise to good karma.
Swami Sarvapriyananda teaches Chapter 8 (Verses 23-28) of the Bhagavad Gita. In this series of talks, Swami Sarvapriyananda unfolds the highest truths of Vedanta through the study of the Bhagavad Gita (The Song of God).