Real Newby here trying to understand why this would not work

Please, use </> button to share codes, terminal outputs, error messages instead of sharing screenshots. That helps others to search for similar issues and us to read it more easily and quote parts of the message so we can help you more quickly. You can find a complete guide in the following post: How to format your forum posts

By the way you have a syntax error in the command so it sets “apt” as environment variable with “get” as value and tries to execute “install git”. Not everthing is a Docker error just because you see it when you work with Docker. The error would have been the same in a virtual machine or on a physical machine, but the error message seems to be pretty clear, indicating that the executed command is “install” and not “apt-get”.