All your files are stored in "/srv/www/magento/current" folder which is a symbolic link to your last release (stored in "/srv/www/magento/releases/<release number>").
When you deploy application, a new folder is created in the "releases" folder and linked to the folder "current".