Softwr

Software · head to head

GitHub vs Heroku

GitHub logo

GitHub

Software

Where the world builds software

From
Free
Rated
-
Heroku logo

Heroku

Software

Cloud Application Platform

From
$7/month
Rated
-

The short version

  • Only GitHub has a free tier, so it costs nothing to try first.
  • Each has a real cost: GitHub acquired by Microsoft in 2018, reducing pure independence despite operational autonomy; Heroku there is no free dyno tier; the cheapest Eco dyno is $5 per month
  • They diverge on capability: GitHub covers Git repositories, Heroku covers Git-based deployment.

Where they differ

Only the attributes on which GitHub and Heroku actually diverge.

Attributes where GitHub and Heroku differ
AttributeGitHubHeroku
Starting priceFree$7/month
Free tierYesNo
PlatformsWeb, Desktop, MobileWeb, Api, Workers
Founded20082007

Identical on both: pricing model (subscription), user rating (Not yet rated), category (Unknown).

What each one covers

Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in GitHub

  • Git repositories
  • Pull requests
  • Code review
  • Issues & projects
  • GitHub Actions CI/CD
  • GitHub Pages
  • Security scanning
  • Dependency management

Only in Heroku

  • Git-based deployment
  • Buildpacks
  • Dynos (containers)
  • Add-ons marketplace
  • Postgres database
  • Environment variables
  • Logging
  • API

Both cover

  • Slack

What people use each for

The jobs each tool is most often brought in to do.

GitHub

  • Version controlnot Heroku
  • Code collaborationnot Heroku
  • CI/CD pipelinesnot Heroku
  • Project managementnot Heroku
  • Documentation hostingnot Heroku

Heroku

  • Deploying and scaling web applications with git push and no server administrationnot GitHub
  • Running managed Postgres, Redis and Kafka as attached data servicesnot GitHub
  • Isolated production environments in a Private Space for regulated workloadsnot GitHub

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

GitHub

  • Acquired by Microsoft in 2018, reducing pure independence despite operational autonomy
  • Primary focus on source control differs from purpose-built project management tools like Jira
  • Pricing for enterprise features and private repositories adds up compared to some self-hosted alternatives

Heroku

  • There is no free dyno tier; the cheapest Eco dyno is $5 per month
  • Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
  • Free SSL and 10 process types start at the Basic dyno at $7 per month
  • Private and Shield dyno types require a Private Space, which is billed on top of the dynos
  • Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
  • Dyno prices are per dyno per month, so an app with several process types multiplies the bill

Pricing, plan by plan

GitHub

Free
  • FreeFree
    • Unlimited public/private repos
    • 2,000 CI/CD minutes/month
    • 500MB package storage
  • Team$4/month
    • Everything in Free
    • 3,000 CI/CD minutes/month
    • 2GB package storage
  • Enterprise$21/month
    • Everything in Team
    • 50,000 CI/CD minutes/month
    • 50GB package storage

Heroku

$7/month
  • Hobby$7/month
    • 512MB RAM
    • Shared CPU
    • 1 web dyno
  • Standard$50/month
    • 512MB RAM
    • Dedicated CPU
    • Automatic scaling

Which should you pick?

Choose GitHub if

  • You need git repositories.
  • You want to start without paying.
  • You work on Web, Desktop, Mobile.
  • You also want pull requests.

Choose Heroku if

  • You need git-based deployment.
  • You work on Web, Api, Workers.
  • You also want buildpacks.

Questions people ask

Is GitHub or Heroku better?
Neither clearly leads. GitHub starts at Free and Heroku at $7/month, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, GitHub or Heroku?
GitHub has a free tier; the other does not. Paid plans start at Free for GitHub and $7/month for Heroku.
Does GitHub or Heroku run on more platforms?
GitHub runs on Web, Desktop, Mobile. Heroku runs on Web, Api, Workers.
Can I use GitHub for free?
Yes. GitHub has a free tier, so you can try it without paying. Heroku starts at $7/month.
What is GitHub best used for?
GitHub is most often used for version control, code collaboration, ci/cd pipelines, project management. Of those, version control and code collaboration are not what Heroku is typically brought in for.
What can GitHub do that Heroku cannot?
GitHub covers Git repositories, Pull requests, Code review, Issues & projects. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace. Both handle Slack.

Answered from the vendors’ own pages

GitHub: What is a Git repository and how does GitHub use it?

A repository is the centralized database that stores the complete collection of files and folders for a codebase, along with the revision history. GitHub uses Git to provide distributed version control access to repositories with version tracking, branching, and collaboration features.

Source
GitHub: How does GitHub authentication work?

When you connect to a GitHub repository from Git, you need to authenticate with GitHub using either HTTPS or SSH. GitHub supports multiple authentication methods including passwords, personal access tokens, SSH keys, and GitHub Apps.

Source
GitHub: How long has GitHub been operating?

GitHub was founded in 2008 and launched publicly on April 10, 2008, making it the dominant git hosting platform for nearly two decades.

Source
GitHub: Who owns GitHub and when did the acquisition occur?

Microsoft acquired GitHub for $7.5 billion USD, with the deal announced June 4, 2018 and completed October 26, 2018. GitHub operates as an independent subsidiary within Microsoft.

Source

Related pages

Other head to heads