Fix the git part of the deploy task