You can do a query in your own space https://github.com/notifications?query=reason%3Ainvitation
reason:invitation When you're invited to a team, organization, or repository.
as explained here: https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox