Ошибка при развертывании проекта на Heroku с помощью Git

Я пытаюсь развернуть свой проект django на heroku с помощью git. Я запускаю:

git push heroku main

И я получаю:

error: src refspec main does not match any
error: failed to push some refs to 'heroku'

Я также пробовал:

git push heroku master

Это дало мне:

fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Я также попробовал git pull, что дало мне другие ошибки. Ничего не работает.

Вернуться на верх