how to extract webpage from a git repo and then throw it into root of www server

computer_glamour cac39f3e9a Update 'README.md' hace 2 semanas
LICENSE 6d5ae3fbbb Initial commit hace 2 semanas
README.md cac39f3e9a Update 'README.md' hace 2 semanas

README.md

GOGS website sync with git repo

how to extract webpage from a git repo and then throw it into root of www server

git --git-dir=/path/to/repo.git archive HEAD | tar -x -C /destination/path