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

computer_glamour a1f5851ca5 Update 'README.md' 2 semanas atrás
LICENSE 6d5ae3fbbb Initial commit 2 semanas atrás
README.md a1f5851ca5 Update 'README.md' 2 semanas atrás

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

Operations listed below need to be done at the backend of the git server !!!!

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