Softwr

Developer Tools · head to head

GitHub vs Google Cloud Spanner

GitHub logo

GitHub

Developer Tools

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

From
Free
Free plan
Yes
Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes

The short version

  • GitHub is a development platform inspired.
  • Google Cloud Spanner is free; GitHub starts at $4/mo.
  • Only GitHub lists git repositories; only Google Cloud Spanner lists strong global consistency.
  • Where GitHub falls short: acquired by Microsoft in 2018, reducing pure independence despite operational autonomy.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.

How do GitHub and Google Cloud Spanner differ?

GitHub and Google Cloud Spanner differ on pricing model (Subscription against Usage-based), platforms and category (Developer Tools against Databases). Only the attributes on which GitHub and Google Cloud Spanner actually diverge.

Attributes where GitHub and Google Cloud Spanner differ
AttributeGitHubGoogle Cloud Spanner
Pricing modelSubscriptionUsage-based
PlatformsWeb, Windows, macOS, iOS, AndroidWeb
CategoryDeveloper ToolsDatabases

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

Not yet recorded: founded for Google Cloud Spanner.

Which features does each one have?

They share no listed features; 20 appear only for GitHub and 9 only for Google Cloud Spanner. 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 Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

What is each one used for?

GitHub is most often brought in for version control; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.

GitHub

  • Version controlnot Google Cloud Spanner
  • Code collaborationnot Google Cloud Spanner
  • CI/CD pipelinesnot Google Cloud Spanner
  • Project managementnot Google Cloud Spanner
  • Documentation hostingnot Google Cloud Spanner

Google Cloud Spanner

  • Global transactional systemsnot GitHub
  • Mission-critical apps needing 99.999% availabilitynot GitHub
  • Applications needing relational plus graph and vectornot GitHub
  • Real-time analytics on operational datanot GitHub
  • Scaling beyond a single database servernot GitHub

Where do GitHub and Google Cloud Spanner fall short?

GitHub's most cited limit: acquired by Microsoft in 2018, reducing pure independence despite operational autonomy. Google Cloud Spanner's: pricing has compute, storage, replication and network components. 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

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

How much do GitHub and Google Cloud Spanner cost?

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

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

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

Which should you pick?

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.

Choose Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Questions people ask

Is GitHub or Google Cloud Spanner better?
It depends on the job. GitHub fits version control; Google Cloud Spanner fits global transactional systems. GitHub starts at Free and Google Cloud Spanner at Free.
Which is cheaper, GitHub or Google Cloud Spanner?
GitHub starts at Free and Google Cloud Spanner at Free.
Does GitHub or Google Cloud Spanner run on more platforms?
GitHub runs on Web, Windows, macOS, iOS, Android. Google Cloud Spanner runs on Web.
Can I use GitHub for free?
Both have a free tier, so you can try either at no cost before committing.
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 Google Cloud Spanner is typically brought in for.
What can GitHub do that Google Cloud Spanner cannot?
GitHub covers Git repositories, Pull requests, Code review, Issues & projects. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.

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
Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

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
Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

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
Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

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
Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads