t2300: run git-sh-setup in an environment that better mimics the real life