Softwr

Developer Tools · head to head

Git vs GitHub

Git logo

Git

Developer Tools

A free and open source distributed version control system

From
Free
Free plan
Yes
GitHub logo

GitHub

Developer Tools

Git hosting with pull requests, issues and CI for software teams

From
Free
Free plan
Yes

The short version

  • Git is a distributed version control system licensed under GPLv2; GitHub is a development platform inspired.
  • Git is free; GitHub starts at $4/mo.
  • Where Git falls short: Git provides no access-control mechanisms of its own, so permissions depend on the hosting service or server set up around it.
  • Where GitHub falls short: acquired by Microsoft in 2018, reducing pure independence despite operational autonomy.

How do Git and GitHub differ?

Git and GitHub differ on pricing model (Open-source against Subscription), platforms and year founded (2005 against 2008). Only the attributes on which Git and GitHub actually diverge.

Attributes where Git and GitHub differ
AttributeGitGitHub
Pricing modelOpen-sourceSubscription
PlatformsWebWeb, Windows, macOS, iOS, Android
Founded20052008

Identical on both: starting price (Free), free tier (Yes), category (Developer Tools).

Which features does each one have?

They share no listed features; 20 only for GitHub. 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 Git

Nothing recorded that GitHub does not also cover.

Only in GitHub

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

What is each one used for?

Git is most often brought in for maintaining complete code history for large projects; GitHub for version control. The jobs each tool is most often brought in to do.

Git

  • Maintaining complete code history for large projectsnot GitHub
  • Coordinating open source development globallynot GitHub
  • Enabling offline work with full repository historynot GitHub
  • Integrating with CI/CD and hosting servicesnot GitHub

GitHub

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

Where do Git and GitHub fall short?

GitHub's most cited limit: acquired by Microsoft in 2018, reducing pure independence despite operational autonomy. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Git

  • Git is a command line tool by design; graphical workflows and hosted collaboration depend entirely on third party GUIs and hosting services layered on top, per git-scm.com/about
  • Git provides no access-control mechanisms of its own, so permissions depend on the hosting service or server set up around it
  • Renames are not recorded explicitly and are inferred each time history is reviewed, so a rename with edits can read as a deletion

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

How much do Git and GitHub cost?

Git is free to use; GitHub has a free plan, with paid plans from $4/mo. Plan by plan below, from each vendor's own pricing page.

Git

Free
  • Open sourceFree

GitHub

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

Which should you pick?

Choose Git if

  • You want to start without paying.

Choose GitHub if

  • You need git repositories.
  • You want to start without paying.
  • You work on Web, Windows, macOS, iOS, Android.
  • You also want pull requests.

Questions people ask

Is Git or GitHub better?
It depends on the job. Git fits maintaining complete code history for large projects; GitHub fits version control. Git starts at Free and GitHub at Free.
Which is cheaper, Git or GitHub?
Git starts at Free and GitHub at Free.
Does Git or GitHub run on more platforms?
Git runs on Web. GitHub runs on Web, Windows, macOS, iOS, Android.
Can I use Git for free?
Both have a free tier, so you can try either at no cost before committing.
What is Git best used for?
Git is most often used for maintaining complete code history for large projects, coordinating open source development globally, enabling offline work with full repository history, integrating with ci/cd and hosting services. Of those, maintaining complete code history for large projects and coordinating open source development globally are not what GitHub is typically brought in for.
What can Git do that GitHub cannot?
GitHub covers Git repositories, Pull requests, Code review, Issues & projects.

Answered from the vendors’ own pages

Git: How much does Git cost?

Git is completely free and open-source software released under the GNU General Public License version 2.0 (GPLv2). There are no licensing costs for the core Git project.

Source
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
Git: Can Git be used for commercial purposes?

Yes, Git can be freely used for commercial and non-commercial projects. The GPLv2 license guarantees freedom to use, modify, and distribute the software.

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
Share

Related pages

Other head to heads