Trace upload: add git and environment info (#91124)
This adds the following to uploaded trace data:
- Git branch/ref name
- Whether the trace was uploaded from a Vercel environment
- Prefers Vercel git environment variable data over running git
Test Plan: Ran a manual test app with EXPERIMENTAL_FLAGS_DEBUG=1, set
the corresponding environment variables and confirmed they were
reflected