I think you want something that uses `GetPathInGitRepo` and `ShouldSkip`. See [TfsChangeset.Apply](https://github.com/pmiossec/git-tfs/blob/fetch_merge_when_no_commit/GitTfs/Core/TfsChangeset.cs#L41-L71). Also, please drop the `globals.` There's a `Repository` property on `GitTfsRemote`.