Well... don't do that? Why would you ever have personal anything on a work computer?
(& then just rotate the credentials on it when you part ways with the employer.)
Some of my co-workers even do a Github account per employment.
I just don’t understand any rational otherwise.
So, would you care to more explicitly tell me what you think about my intelligence or ability to behave rationally compared to you? Or is there potentially some room for nuance here?
A more senior academic?
I'm sure there are plenty of people who have access to their company's private repos through their personal GitHub accounts.
I think this is fairly common for people who work on open source projects.