Improve performance creating MR diffs via GitHub import
As part of generating a diff in the DB for a specific MR, we call
ensure_commits_sha that goes and fetches the MR ref:
However, we are already fetching this ref previously as part of the import process. Plus we could have skipped both altogether by fetching all refs at once.