Git
.gitattributes
.gitattributesで改行コードの扱いを制御する - Qiita
git archive
git コマンドで不要ファイルを除いて zip 圧縮する | White Space