Irish nationalism was traditionally represented with a green flag. The current flag of Ireland is a tricolour with green representing the Irish Catholics, orange representing the Irish Protestants, and white in the middle to represent peace.
By analogy to the use of red flags as a warning symbol of negative traits, specifically in the context of dating and intimate relationships, a "green flag" is used to mean a sign of a positive trait in a person.