Fix git wrapper, to actually use declared variables.