Under the hood, Git Docs is powered by AWS.
The architecture can be better visualized using the diagram below.
In chronological order the AWS services utilized are:
CloudWatch Events trigger our Lambda function
Lambda function pulls in content from repositories
Lambda function builds static site using Hugo
Lambda function pushes generated content to S3
S3 is configured to host, making changes live immediately