Introduce git__substrdup