use git archive to clone from bare repo

this allows pruning of files and folders using .gitattributes files.
closes #4