The past tense of give an undertaking is gave an undertaking.
The third-person singular simple present indicative form of give an undertaking is gives an undertaking.
The present participle of give an undertaking is giving an undertaking.
The past participle of give an undertaking is given an undertaking.