A Global Master Repurchase Agreement (GMRA) is a complex legal document that outlines the terms and conditions for multiple repurchase transactions between parties.