extensions/git/src/util.ts/relativePath
export function relativePath(from: string, to: string): string {
	if (isDescendant(from, to) && from.length < to.length) {
		return to.substring(from.length + 1);
	}

	// Fallback to `path.relative`
	return relative(from, to);
}