Getting GitHub: Why journalists should know and use the social coding site

The famous GitHub logo.

If you've been hanging around newsrooms or journalism classrooms lately, you've probably heard the word GitHub. It might sound a little scary and mysterious, but even the most traditional pen-and-notebook journalists should know about this super helpful tool (to say nothing of aspiring newsroom programmers).

So, what, exactly, is GitHub? Why do you need to get it?

GitHub is a social coding site. Designed for the purpose of democratic and collaborative coding, GitHub allows multiple people to work on the same code at the same time.

You can host your own code (called a repository), fork others' code and suggest changes (more on that below), and accept changes and merges into your own code.

Have you ever seen Octocat (GitHub's unique cat/octopus mascot) badge on someone's portfolio? That's GitHub. Clicking on that will lead you to someone's GitHub profile, where you can explore all of their publicly hosted code and as well as other projects they've played around with.

But beginners should take note: GitHub isn't Git. And knowing the difference is crucial to developing a more productive workflow. Git is revision control software, originally developed by the Linux community. GitHub is a web-based hosting service that takes Git's software and pairs it with an easy-to-use interface that requires almost no previous coding experience to use.

Get familiar with code

GitHub is an ideal platform for beginning coders because the site is easy to use and version control can act as a safety net as you try new new things. And if you can't quite figure out where you've gone wrong, the site provides users with plenty of avenues for easy troubleshooting on new projects.

David Eads of the Chicago Tribune Newsapps team says you can think of GitHub like a filing cabinet. After a project is published, it's easy for others to go back and examine the code, learn from it and make it better. Moreover, GitHub's Gist feature is a quick way to jot down bits of code you want to remember or show to someone for another opinion.

And don't forget, GitHub is called a social network for a reason. Newcomers can watch code as projects take shape or troubleshoot with more experienced users. Groups like OpenHatch aim to answer coding questions and maintain a set of projects on GitHub that are helpful for beginning programmers.

Beyond GitHub's operational utility, it serves as yet another way journalists and programmers can work together and create innovative projects.

"In a lot of cases, journalists and programmers need to figure out how to hang out in each other's worlds better," Eads said. As more journalists embrace GitHub as a way to improve stories, they'll develop a new kind of news community, centered around collaboration and code – truly a news nerd's nirvana.

Some vocab

Before diving into GitHub, get a leg up by understanding its litany of technical terms. You'll also want to download Git and the GitHub native app for either Mac or Windows. GitHub explains every step on their website.

  • Commits — This is simply a change you make to a piece of code, or a set of related changes made on multiple files.
  • Forking — Forking is simply the copying of an existing code repository at a specific point so you can add to it as you see fit. The original code still exists for the creator, but your fork may spin off into a lively new project. This means that any project publicly hosted in GitHub can be edited by anyone. For example, if you find a typo in the ProPub Nerd Guide you can change it.
  • Pull requests — Pull requests let users know what changes you may have pushed to a particular repository. Once you send a pull request, other users can review your changes and incorporate them into their repositories.


Journalism projects and resources to get you started

Getting on GitHub will open a world of new projects and applications you can repurpose for your own reporting. "Anything cool you can find on the internet you can probably also find on GitHub," said Zach Wise, a faculty collaborator at the Lab. Adds Knight Lab student fellow Tyler Fisher added, "If an open-source project isn't on GitHub, there's a bit of a concern at this point."

To get started look at these projects and resources for the burgeoning code curious journalist. Several news apps team filled with coding all-stars have compiled guides that define their particular style and manifesto when it comes to creating interactive projects. There are also a bevy of cool projects that can help you trick out your slideshow style, build a better website or flesh out your coding skills.


So go on, get GitHub and get started.

About the author

Emily Ferber

Undergraduate Fellow

Latest Posts

  • A Big Change That Will Probably Affect Your Storymaps

    A big change is coming to StoryMapJS, and it will affect many, if not most existing storymaps. When making a storymap, one way to set a style and tone for your project is to set the "map type," also known as the "basemap." When we launched StoryMapJS, it included options for a few basemaps created by Stamen Design. These included the "watercolor" style, as well as the default style for new storymaps, "Toner Lite." Stamen...

    Continue Reading

  • Introducing AmyJo Brown, Knight Lab Professional Fellow

    AmyJo Brown, a veteran journalist passionate about supporting and reshaping local political journalism and who it engages, has joined the Knight Lab as a 2022-2023 professional fellow. Her focus is on building The Public Ledger, a data tool structured from local campaign finance data that is designed to track connections and make local political relationships – and their influence – more visible. “Campaign finance data has more stories to tell – if we follow the...

    Continue Reading

  • Interactive Entertainment: How UX Design Shapes Streaming Platforms

    As streaming develops into the latest age of entertainment, how are interfaces and layouts being designed to prioritize user experience and accessibility? The Covid-19 pandemic accelerated streaming services becoming the dominant form of entertainment. There are a handful of new platforms, each with thousands of hours of content, but not much change or differentiation in the user journeys. For the most part, everywhere from Netflix to illegal streaming platforms use similar video streaming UX standards, and...

    Continue Reading

  • Innovation with collaborationExperimenting with AI and investigative journalism in the Americas.

    Lee este artículo en español. How might we use AI technologies to innovate newsgathering and investigative reporting techniques? This was the question we posed to a group of seven newsrooms in Latin America and the US as part of the Americas Cohort during the 2021 JournalismAI Collab Challenges. The Collab is an initiative that brings together media organizations to experiment with AI technologies and journalism. This year,  JournalismAI, a project of Polis, the journalism think-tank at...

    Continue Reading

  • Innovación con colaboraciónCuando el periodismo de investigación experimenta con inteligencia artificial.

    Read this article in English. ¿Cómo podemos usar la inteligencia artificial para innovar las técnicas de reporteo y de periodismo de investigación? Esta es la pregunta que convocó a un grupo de siete organizaciones periodísticas en América Latina y Estados Unidos, el grupo de las Américas del 2021 JournalismAI Collab Challenges. Esta iniciativa de colaboración reúne a medios para experimentar con inteligencia artificial y periodismo. Este año, JournalismAI, un proyecto de Polis, la think-tank de periodismo...

    Continue Reading

  • AI, Automation, and Newsrooms: Finding Fitting Tools for Your Organization

    If you’d like to use technology to make your newsroom more efficient, you’ve come to the right place. Tools exist that can help you find news, manage your work in progress, and distribute your content more effectively than ever before, and we’re here to help you find the ones that are right for you. As part of the Knight Foundation’s AI for Local News program, we worked with the Associated Press to interview dozens of......

    Continue Reading

Storytelling Tools

We build easy-to-use tools that can help you tell better stories.

View More