Go Reference

golang.org/x/build/internal/gitauth

Package gitauth writes gitcookies files so git will authenticate to Gerrit as gopherbot for quota purposes.