I don't think there is a way to tell. Unless TFS has changed from when I used to use it, you can check in changes to files in any branch in the same changeset, so checking just one path in the changeset won't tell you everything. This method might be better as

```
private IEnumerable<IGitTfsRemote> FindTfsRemotesOfChangeset(IChangeset changeset)
{
    return globals.Repository.ReadAllTfsRemotes().Where(r => changeset.Changeset.Any(c => c.Item.ServerItem.ToLower().StartsWith(r.TfsRepositoryPath.ToLower())));
}
```