Export files in a commit in GIT. Just like SVN Export Files in Tortoise git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id | xargs tar -rf mytarfile.tar