cp semua file kecuali .git

#To copy all files except one (ex: .git) do following ;) :
rsync -rv --exclude=.git source_folder destiny_folder
Armandres