Apply sub-repo permissions filtering to git.ReadFile sub repo perms
Created by: mollylogue
Closes https://github.com/sourcegraph/sourcegraph/issues/28266 Should be merged after https://github.com/sourcegraph/sourcegraph/pull/29213
Created by: mollylogue
Closes https://github.com/sourcegraph/sourcegraph/issues/28266 Should be merged after https://github.com/sourcegraph/sourcegraph/pull/29213