Add stash state and stop exporting git shell variables