pass only some GIT_ variables

Passing GIT_* variables can break some packages like gitolite (see
gitolite-env.patch) and gitolite3. Therefore pass only the ones which
are used by some developers and should be safe.