How can I connect a git repository to heroku app
<p>I'm trying to connect my heroku app to git repository.And also I can't able to push an existing repository with heroku app.While I'm trying to push with</p>

<pre><code>git push heroku master
</code></pre>

<p>I found </p>

<pre><code>fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
</code></pre>

<p>How can I solve this?</p>

<p>That error means that: in your current project you have not yet 'initialized' Heroku.</p>

<p>Are you creating a NEW Heroku app? If so, you can run the following command to fix things:</p>

<pre><code>heroku create
</code></pre>

<p>If you're trying to work with an EXISTING Heroku app, you need to setup your 'heroku remote' by doing the following:</p>

<pre><code>git remote add heroku https://git.heroku.com/your-app-name.git
</code></pre>

python heroku github