[GHF] Use `baseRefOid` to get PRs merge base (#101232)
In general, `GitHubRepo` class must not contain any methods that incur local IO, nor modify git repo checkout its invoked from.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101232
Approved by: https://github.com/kit1980