I could be wrong but you know when you sign up for services you have option of signing in with github or other oAuth providers? I think they used this to gain access to various private repos, npms, cloud credentials.
So it seems like if your company had some super secret project running on github, heroku, AWS, they had full access to it.
This is my rough understanding just skimming so could be wrong.