Fix incorrect variable name in deploy task
Fix broken git command in deploy