Fixed a bug in deploy script for git init.