How about cloning the tag to a depth of 1?
git clone --branch mytag0.1 --depth 1 https://example.com/my/repo.git
Notes:
--depth 1
implies--single-branch
, so no info from other branches is brought to the cloned repository- if you want to clone a local repository, use
file://
instead of only the repository path