1)
When does David deposit his Ru'ach with Hashem?
1.
Rashi: Constantly, for You redeemed me from affliction.
2.
Radak: Now, when they are ambushing me. I know that You will save me from them! "Padisa" is past in place of future.
3.
Malbim: Initially I deposited all I have in the hands of Anshei Ke'ilah. My trust in them was false. They wanted to hand me over [to Sha'ul], for they are not truthful. My Ru'ach I deposit in Your hand, and not in theirs, for You redeemed me from my pursuers; you are Kel Emes!
2)
Why did he say "Hashem Kel Emes"?
1.
Radak: You are Kel, i.e. strong. You have ability to redeem (save) me. Emes - You will fulfill Your word that I will reign.