Ensure that your existing project scandipwa theme folder is named scandipwa.
Clone the instance repository following the instruction here.
Replace the following folders/files in the cloned repository root folder from your project:
app/etc/config.php
app/code
scandipwa
composer.json
composer.lock
package.json