The migration will be easier if you first install the same new version of Moodle on Hostinger. This will "prove" that Moodle runs correctly on Hostinger. Then you can attempt the migration, keeping a copy of config.php from your Hostinger installation.
You will then need to move the Moodle code, replacing its config.php file with the Hostinger config.php file, replace the database tables on Hostinger with your local database tables, and replace the moodledata folder accordingly.
You will then need to move the Moodle code, replacing its config.php file with the Hostinger config.php file, replace the database tables on Hostinger with your local database tables, and replace the moodledata folder accordingly.