Trying to understand GitHub repositories discourse and discourse_docker

Discourse_docker builds the docker containers that run discourse. It downloads discourse. You can set the Branch (or even a commit) of Discourse in the app.yml file that Discourse docker uses to download discourse when it builds a new container.