notes: Use `git__strndup`