AFAIK you can't give su a password on the command line. But you can use sudo, add the permitted user into [/etc/sudoers][1] **with no password**, so you can run your command as `sudo -u webside-user-name 'cd /live/website && git fetch && git checkout master'`.

 [1]: http://man.cx/sudoers