use git HEAD to do archive