add clone_gh function