How to export source code only in your git project

In the your git project repository, command below

After you do, you can take the file “archive.tar.gz”. It might have source code only for “master” branch.