If you don't have a GitHub account, you can create one for free at https://github.com/join. In this example, we will create a dedicated public repository called nginx-demo-index in the hands-on-kubernetes-on-windows organization. Let's get started:
Navigate to https://github.com/ and use the + sign to create a new repository:
Hosting an organization is not required; you can just use your own personal namespace. The repository is intended to only contain the application source code (in our case, just a static index.html web page) and the Dockerfile that's required to build the image, which aligns with the suggested best practices for Docker development.
In order to clone the newly created repository, in PowerShell, navigate to the directory where you would like to have the repository and use the git clone command: