Make tar archive without .git folder or any other version control systems

To make tar archive without .git folder or any other version control systems –exclude-vcs option can be used for tar.

Example tar command could be:

$ tar --exclude-vcs -cpjf ~/backup__no_vcs__$(date +'%Y-%m-%d_%H-%M').tar.bz2 ./