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