According to the context of Hindu spirituality, The word liberation means the freedom from all the distortions of love i.e. attachment, jealousy, anger, and etc. Having troubled by these distortions, we feel strained and seek liberation. To attain liberation,  lord Krishna explained three margas (paths) in Gita : Karma marga, Jnana marga and Bhakti marga.

According to the Gita, No one can attain moksha if he or she renounce this world. Renouncing the world is equivalent to give up the commitments.

Karma Yoga : If one performs his duty without any attachment, he becomes karma-yogi. A karma yogi is the one in whom there is an absence of pride, conceit, vanity, egoism and presence of forgiveness, sincerity, purity, steadfastness, self control, renunciation, strong devotion to the Lord, reverence to the master and love for the scriptures.

Jnana Yoga: Jnana of Brahman or purusothama refers to his wisdom. This jnana is an essential quality for Jnana yogi to attain  liberation.

Bhakti Yoga: It insists on devotion. In this devotion a devotee should be a sincere and continuous seeker of truth. And so, he should try to get the jnana about the supreme being by loving the sacred scriptures. One of the means to do so is saranagathi which means total self-surrender of oneself to God.

While Jnana stands for realization at highest level, Karma assumes a very different meaning. During the Vedic age, Karma meant only performing Yajna. But in the Gita it has come to mean social obligation. Yoga came to be understood as dedication. Hence, Karma Yoga may be understood as discharging duty with a sense of commitment.

The most important element in the Gita is the doctrine of nishkama karma which consists in discharging obligations in an impersonal manner. An impersonal approach to duty does not affect the performer in any manner, i.e., neither success nor failure affects him or her. This attitude is ‘Samatva manobhava– equanimity of mind. The Gita makes a clear distinction between commitment and interest. Commitment is impersonal, whereas interest is personal.

One who neither hates nor desires the fruits of his activities is known to be always renounced. Such a person, liberated from all dualities, easily overcomes material bondage and is completely liberated.