From Middle High German gesteric, from Old High German gesterīg. By surface analysis, gestern + -ig.
Improve your pronunciation
Practice speaking and memorizing "gestrig" and many other words and sentences in German.