We are considering joint development with Subsidiary A and Outsourcing Company B using GitHub Enterprise. Is it possible to separate viewing rights?

It is possible to divide the browsing authority for each repository. It is possible to set a repository that can be viewed by your company, company A, and company B, or a repository that is shared only by your company/A.