Open terminal, navigate to project folder, assume Heroku CLI and Git installed

heroku login
heroku git:remote -a 'name of heroku project'

If using a database:

heroku addons:create heroku-postgresql:hobby-dev
heroku pg:psql