git bundle create $BundleName $tagName $branchName
use HEAD tag
git bundle create repo.bundle HEAD master
create new tag
git tag -a v1.0 -m 'my version 1.0' git bundle create v1.0.bundle v1.0 master
create new branch with HEAD tag
git branch bundleTest git checkout bundleTest git bundle create branchHEAD.bundle HEAD bundleTest
create new branch with new tag
git tag -a v2.0 -m 'my version 2.0' git bundle create branchTag.bundle v2.0 bundleTest