If everything is local, you can do this:
mkdir /path/to/test-tree cd /path/to/repo git read-tree <tag> git checkout-index -a --prefix=/path/to/test-tree/
Assuming you don't care about another tree that has any git info at all. If you want to, you can use the git -new-workdir script , which basically creates a clone, with the exception of populating .git with symbolic links to the original repo so that it does not take up additional disk space. This is a good approach - there is no additional disk space, and you can use one repo for development, one for testing, etc.
source share