To get the information on all teams you are part of in Github
- Open a Terminal window
- Execute this command with your Personal Access Token
curl -H "Authorization: token YOUR_PERSONAL_ACCESS_TOKEN" https://api.github.com/user/teams
The returned JSON will display all information on the teams you belong to.
To generate a personal access token
See Create a Personal Access Token to use it as password in the Git client at Git configuration