Source code for released versions is available in the releases directory.
The official Game of Trees Git repository can be cloned from git.gameoftrees.org:
git clone https://git.gameoftrees.org/got.git
Git protocol access is also available if needed, but is discouraged because it does not use encryption:
git clone git://git.gameoftrees.org/got.git
A web interface for browsing is also available: https://git.gameoftrees.org/gitweb
Read-only clones of the Game of Trees Git repository are available at https://framagit.org/stsp/got and https://codeberg.org/stsp/got