move git-using variable declaration into the prebuild target