Skip to content

GitHub icon

The GitHub Octocat logo for repository links, sign-in with GitHub and open source projects. A free GitHub icon in 5 styles, drawn by hand on a 24px grid. Copy it as SVG or JSX or install it from npm, for personal or commercial use.

Also called “github logo”, “octocat”, “code repo” or “source control”

Style Stroke
Size
24 × 24, scales to any size
License
Free, credit optional (terms)
Tags
github, coding, version control, software development, git, collaboration, repository, gh, github logo, octocat, code repo, source control

Install from npm (React, MIT)

npm i @pikaicons/react @pikaicons/core-free
import { PikaIcon } from "@pikaicons/react"; import { GithubIcon } from "@pikaicons/core-free"; <PikaIcon icon={GithubIcon} />

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9.75c0 3-1.95 5.25-7 5.25s-7-2.25-7-5.25c-.02-1.04.21-2.07.68-3-.34-1.47-.21-3.28.52-3.64s2.27.3 3.54 1.15c.75-.13 1.5-.2 2.26-.2.76-.01 1.51.05 2.26.18 1.27-.85 2.88-1.48 3.54-1.15s.86 2.17.52 3.64c.47.93.71 1.97.68 3.02"/>
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 15c-.65.7-1.01 1.62-1 2.58V21"/>
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 15c.65.7 1.01 1.62 1 2.58V21m-6-1.95c-.89.36-1.86.48-2.82.36-1.52-.52-1.12-1.9-1.9-2.47-.37-.27-.82-.42-1.28-.44"/>
</svg>

More Social Media & Apps icons

In the full library

  • Airbnb
  • Amie So
  • Arc Browser
  • Bear App
  • Binance
  • Bluesky
  • Bumble
  • Claude
  • CodePen
  • Coinbase
  • CopperX
  • Cursor Logo
  • Deepseek
  • Facebook Messenger
  • Firefox Browser
  • Fueler
  • GitHub Copilot
  • GitLab
  • Godly Website
  • Google Chrome
  • Google Gemini
  • Grok
  • Hashtag
  • Hugging Face
See all Social Media & Apps icons

Get the full library

6,000+ icons across five styles in the Pikaicons app, for one payment from $99. 900+ of them are free to copy here.