title: Sudo git as another user with ssh-agent for key access
body: <p>i have ssh-agent setup for the user www-data and the password saved for the private key</p>
  
  <p>from root i need to run "sudo -u www-data git pull" so it doesn't ask for the git private key password. sudo doesn't run the .bashrc script so not sure how to pull this off? </p>
  
  <p>any suggestions?</p>