shrink git-shell by avoiding redundant dependencies