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

computer_glamour cac39f3e9a Update 'README.md' před 2 týdny
LICENSE 6d5ae3fbbb Initial commit před 2 týdny
README.md cac39f3e9a Update 'README.md' před 2 týdny

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