πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
GetGit icon
Possibly abandoned Tested up to 3.5.2

GetGit

Embeds syntax-highlighted GitHub repo content into your blog posts.

Active installs10+10+ tier
Downloads Β· 30d52β–² +33.3% vs prev. 30d
Ratingβ€”0 reviews
Health score23/100At risk
All-time downloads2.3KSince Mar 2013
Support resolvedβ€”No recent threads
RequiresWP 3.5.1PHP any
Downloads Β· 7d13β–Ό -23.5% week over week
Our verdict

Consider an alternative

GetGit shows warning signs in 2026 β€” compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 13 years
  • Only tested up to WordPress 3.5 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Sep 5Oct 19Dec 3
Yesterday4
Daily average (1y)1
Peak day5Jun 6, 2026
Last 12 months391

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where GetGit stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins β†’
embed >100 7,401 Best embed plugins β†’
Github >100 7,423 Best Github plugins β†’
repositories >100 6,272 Best repositories plugins β†’
snippet >100 3,059 Best snippet plugins β†’

Version adoption

Share of active sites per release.

  • 0.3100.0%

About GetGit

From the official readme Β· v0.3

Description

This plugin embeds the content of a public GitHub repository into your WordPress posts. It’s capable of retrieving either the full content or a snippet of a file. The code will be displayed with syntax highlighting and line numbers.

Now supports content caching for improved page responsiveness and load times.

Syntax highlighting is provided by the Sunlight JS syntax highlighter. Many thanks to those involved in that project!

Usage

This plugin registers a shortcode that allows for embedding GitHub repo content into blog posts. To embed content into your post, use the github shortcode like so:

[github userid="[target user id]" repoid="[target repo id]" path="[path to content]" language="[language of target content]"]

Attributes used by the github shortcode:

  • userid – The user ID of the repository owner.

  • repoid – The ID of the repository that contains the target content.

  • path – The full path to the content. This path should start at the repository root, not inclusive of the leading /, and terminate with the name of the target content’s filename.

  • language – The programming language of the code contained in the content. This information will be passed to the syntax highlighter. The value must match one of the recognized values for the Sunlight JS engine. For a list of values, see the Sunlight documentation.

  • startloc – Optional. The starting line of code to display in the code snippet. If this attribute is ommitted, the first line of retrieved file will be the first line of code displayed in the snippet.

  • stoploc – Optional. The final line of code (inclusive) to display in the code snippet. If this attribute is ommitted, the final line of content shown in the snippet will be the last line of the retrieved file.

Examples

Retrieve src/support.js from the jQuery project repo:
[getgit repoid=”jquery” userid=”jquery” path=”src/support.js” language=”javascript”]

Retrieve lines 39 through 64 of this plugin’s content retrieval class:
[getgit repoid=github-wordpress-plugin userid=claycarpenter path=”src/php/github_repo_content_retriever.php” language=”php” startloc=39 stoploc=64]

Installation

To install this plugin:

  1. Upload the plugin archive ZIP (getgit.zip) to the /wp-content/plugins/ directory.
  2. Activate the GetGit plugin through the ‘Plugins’ menu in WordPress.
  3. Add the github shortcode to your blog posts, as outlined in the Description section.

Changelog

0.3

  • Adds configurability to the caching support. The content cache system can now be enabled or disabled. Content in the cache can now have a configurable expiry.
  • Updates cache (Transient) key generation so that the generated keys are more likely to be unique across plugins.

0.2

  • Adds support for content caching. The caching support is provided via the Transients API. This is an initial implementation and does not allow for configuration of the cache entry expiration date.

0.1

  • Initial public release.
  • Supports basic syntax highlighting, line numbers.
  • Supports showing only snippets of files, rather than the full file content.
  • Uses Sunlight JS syntax highlighter, v1.17.

Full changelog on WordPress.org β†’

Screenshots

A snippet of content retrieval code from this plugin, with PHP syntax highlighting.
A snippet of content retrieval code from this plugin, with PHP syntax highlighting.
A snippet of a jQuery file, with JavaScript syntax highlighting.
A snippet of a jQuery file, with JavaScript syntax highlighting.
The plugin settings page.
The plugin settings page.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own β€” no account needed.

Active installs badge Rating badge Health score badge

Best GetGit alternatives

All code plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (1.9K) 1 day ago 97
2 Code Snippets Code Snippets Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code… by Code Snippets Pro 1M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (512) 1 week ago 92
3 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar UroΕ‘eviΔ‡ 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (51) 3 months ago 71
4 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (159) 2 years ago 51
5 Shortcoder β€” Create Shortcodes for Anything Shortcoder β€” Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (227) 3 months ago 77
6 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (30) 3 years ago 45
7 SyntaxHighlighter Evolved SyntaxHighlighter Evolved Easily post syntax-highlighted code to your site without having to modify the code at all… by Alex Mills 20K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (86) 2 days ago 91
8 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (45) 2 weeks ago 87
9 Advance Custom HTML – Show Live Code, Share Snippets, Embed Code, and Style Them Your Way. Advance Custom HTML Advance Custom HTML lets you write and display HTML, CSS, PHP, and other code snippets on… by bPlugins 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 2.5 (4) 2 days ago 68
10 Highlighting Code Block Highlighting Code Block Add code block with syntax highlighting using prism.js. (Available for Gutenberg and… by LOOS 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.5 (20) 5 months ago 62

FAQ

GetGit: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is GetGit free?

Yes. GetGit is free to download and use from the official WordPress.org plugin directory.

Is GetGit safe to use in 2026?

GetGit shows warning signs in 2026 β€” compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.

How many websites use GetGit?

GetGit is active on 10+ WordPress websites and has been downloaded 2,279 times since it launched in March 2013. It was downloaded 52 times in the last 30 days.

Does GetGit work with WordPress 7.1?

GetGit is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was GetGit last updated?

The latest version, 0.3, was released on March 19, 2013 (14 years ago).

Who makes GetGit?

GetGit is developed and maintained by claycarpenter.

What are the best alternatives to GetGit?

The most popular alternatives to GetGit are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open