You can (sometimes) use GitHub to figure out if the company has bad work/life balance, e.g. if you see lots of employees committing code on the weekend on the same dates: https://codewithoutrules.com/2019/01/31/does-company-have-wo...
Currently I have a separate ‘home’ account for personal projects and I never touch the work ID from my home.
Also, you could and probably should create a new SSH key on the company laptop or a personal access token for HTTPS access so that it can be easily revoked when you leave.
The other edge case would be an environment where every employee is super active in OSS.