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

computer_glamour cac39f3e9a Update 'README.md' 2 hafta önce
LICENSE 6d5ae3fbbb Initial commit 2 hafta önce
README.md cac39f3e9a Update 'README.md' 2 hafta önce

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