Assixt dist adds more than what is in the git directory in the distribution
If there are files that aren't tracked with git, they are added when they should not be.
git ls-files -z
can get you a file listing, which is split with NULL's.
In cases when it's not a git folder you could archive everything.