Change sync to export so .git dir is not on built machine.