Using User Data with Docker CE Cloudformation

Our recommendation is to just run git (and any other software you need) in containers running on top of Docker for AWS. Docker for AWS is a platform for running software using Docker, so the underlying instances are not built to be user serviceable.

Can you share more details on what objective you’re trying to achieve so we can come with better suggestions?