git clone/pull using password with special character

git clone or pull using password with special character on php shell comment. It is more popular to use an ssh key instead of a password when automating a git pull/clone from a guest OS.  But if you do need to specify the password directly into the console command, it takes this form: