git-sh-setup: define workaround wrappers before they are used