setup: make sure git_dir path is in a permanent buffer, getenv(3) case