Etymology
Today it means: To betray by informing on. Full definition →
From grass (“informer”) + up.
Etymology from Wiktionary, CC BY-SA 4.0.