updated to allow for git commands to run as specified user