The PDBStr (Pdbstr.exe) tool is used by the indexing scripts to insert the version control information into the "srcsrv" alternative stream of the target .pdb file. It can also read any stream from a .pdb file.
$ dotnet add package Microsoft.Debugging.Tools.PdbStrNo README available.