Revert "Add git back into doc script"

This reverts commit f3acc546b28e5ec4ad71cf65adf4c0adcc26c09f.