I recently tried to build docker/distribution in a nanoserver container.
The golang nanoserver image does not contain Git, only the windowsservercore variant.
I've installed it in my Dockerfile like this:
https://github.com/StefanScherer/dockerfiles-windows/blob/master/registry/build/Dockerfile#L8-L16
Is it worth to send a PR? 😀