Octoverse: AI leads Python to top language as the number of global developers surges

In this year’s Octoverse report, we study how public and open source activity on GitHub shows how AI is expanding as the global developer community surges in size.

Hero image for GitHub Octoverse 2024 report. The design features abstract, colorful lines in neon pink, green, blue, and purple on a dark background with subtle gradients and geometric shapes. The GitHub logo is positioned in the bottom center alongside the text 'Octoverse 2024' in white.
|
| 32 minutes

Remember when people said AI would replace developers? Our data tells a different story. As AI rapidly expands, developers are increasingly building AI models into applications and engaging with AI projects on GitHub in large numbers. At the same time, we’re seeing an unprecedented number of developers join GitHub from across the globe, and many of these developers are contributing to open source projects for the first time.

In 2024, Python overtook JavaScript as the most popular language on GitHub, while Jupyter Notebooks skyrocketed—both of which underscore the surge in data science and machine learning on GitHub. We’re also seeing increased interest in AI agents and smaller models that require less computational power, reflecting a shift across the industry as more people focus on new use cases for AI.

Our data also shows a lot more people are joining the global developer community. In the past year, more developers joined GitHub and engaged with open source and public projects (in some cases, empowered by AI). And since tools like GitHub Copilot started going mainstream in early 2023, the number of developers on GitHub has rapidly grown with significant gains in the global south. While we see signals that AI is driving interest in software development, we can’t fully explain the surge in global growth our data reflects (but we’ll keep studying it).

At GitHub, we know the critical role open source plays in bridging early experimentation and widespread adoption. In this year’s Octoverse report, we’ll explore how AI and a rapidly growing global developer community are coming together with compounding results.

Graphic from GitHub's Octoverse 2024 report highlighting the top-line metrics across the GitHub platform in 2024. This includes call outs about there now being 518 million total projects on GitHub with 25% year-over-year growth, nearly 1 billion contributions to public and open source projects, 5.6 billion contributions to all projects on GitHub, 137,000 public generative AI projects with 98% year-over-year growth, more than 1 million maintainers, teachers, and students that have used GitHub Copilot for free, and Python’s new place as the top language on GitHub.

We uncover three big trends:

  • A surge in global generative AI activity. AI is growing and evolving fast, and developers globally are going far beyond code generation with today’s tools and models. While the United States leads in contributions to generative AI projects on GitHub, we see more absolute activity outside the United States. In 2024, there was a 59% surge in the number of contributions to generative AI projects on GitHub and a 98% increase in the number of projects overall—and many of those contributions came from places like India, Germany, Japan, and Singapore.
  • A rapidly growing number of developers worldwide—especially in Africa, Latin America, and Asia. Notable growth is occurring in India, which is expected to have the world’s largest developer population on GitHub by 2028, as well as across Africa and Latin America. We also see Brazil’s developer community growing fast. Some of this is attributable to students. The GitHub Education program, for instance, has had more than 7 million verified participants. We’ve also seen 100% year-over-year growth among students, teachers, and open source maintainers adopting GitHub Copilot as part of our complimentary access program. This suggests AI isn’t just helping more people learn to write code or build software faster—it’s also attracting and helping more people become developers. First-time open source contributors continue to show wide-scale interest in AI projects. But we aren’t seeing signs that AI has hurt open source with low-quality contributions.

  • Python is now the most used language on GitHub as global open source activity continues to extend beyond traditional software development. We saw Python emerge for the first time as the most used language on GitHub (more on that later). Python is used heavily across machine learning, data science, scientific computing, hobbyist, and home automation fields among others. The rise in Python usage correlates with large communities of people joining the open source community from across the STEM world rather than the traditional community of software developers. This year, we also saw a 92% spike in usage across Jupyter Notebooks. This could indicate people in data science, AI, machine learning, and academia increasingly use GitHub. Systems programming languages, like Rust, are also on the rise, even as Python, JavaScript, TypeScript, and Java remain the most widely used languages on GitHub.

💡 Oh, and if you’re a visual learner, we have you covered.👇

A global community of developers that’s growing fast

Graphic from GitHub's Octoverse 2024 report highlighting global developer statistics. It shows three key metrics: '5.2B contributions to all projects on GitHub,' 'India has the fastest-growing developer population,' and '108M new repositories in 2024.' The design features a dark background with gradient colors and glowing text.

In early 2023, we celebrated reaching 100 million total developers on GitHub—and that number has climbed at a rapid rate since then. In 2024, developers around the world made more than 5.2 billion contributions to more than 518 million open source, public, and private projects.

So, where in the world are GitHub developers most engaged, and where are we seeing the most growth? And as AI allows developers to code in the natural language of their choice, what parts of the world could we expect to see greater growth in? Let’s take a look. 👇

Graphic from the Octoverse 2024 report highlighting geographic heatmaps of developer populations globally on GitHub. This ranges from high population centers such as in the United States, India, Brazil, and China to lower population centers in parts of Africa.

There’s both stability and change among the top 20 countries with the highest number of developers on GitHub. While India continues to approach the number one spot (we now predict by 2028 based on updated projections, but more below), the United States continues to have the most developers worldwide on GitHub. Despite this, we have seen greater growth outside the United States every year since 2013—and that trend has sped up over the past few years.

A line graph titled 'Top 10 developer communities on GitHub from 2019-2024,' showing the growth and ranking shifts among developer communities across different countries. The United States consistently holds the top position, followed by India, China, and Brazil. India surpasses China in 2020, while Brazil climbs to the fourth spot in 2022. Other countries in the top 10 include the United Kingdom, Russia, Germany, Indonesia, Japan, and Canada, with France dropping out of the top 10 in 2022.

Globally, we see developer communities growing significantly. Brazil, India, and Nigeria are especially growing fast, which is notable given they are the most populous regions of their respective continents with linguistically diverse populations.

Overall, the top 20 developers communities have largely maintained their positions with a few notable exceptions. These include the Philippines (#18) overtaking Australia (#19) and Pakistan (#20) overtaking Poland (#21).

💡 Stay smart. The rise of these non-English, high-population regions is notable given that it is happening at the same time as the proliferation of generative AI tools, which are increasingly enabling developers to engage with code in their natural language.

Projecting the top 10 developer communities on GitHub through 2030

To identify the developer communities with the highest growth potential over the next five years, we created projections based on current trends. And our prediction from last year changed: India is now on track to surpass the United States in number of developers on GitHub by 2028 (previously, we had predicted it would overtake the United States by 2027 based on linear population growth).

Graph from GitHub's Octoverse 2024 report showing projected top 10 developer communities by country for 2024-2028. The graph uses colorful lines to represent different countries. India is projected to surpass the United States by 2028, while other countries like China, Brazil, the United Kingdom, and Indonesia maintain steady growth. Japan, Germany, Russia, and Canada round out the top 10, with some fluctuations in ranking over the years.

Fastest growing developer communities in Latin America

The tech sector in Latin American countries is currently seeking to “build on [its] … momentum,” as the region experiences rapid growth primarily in open banking, cloud-based infrastructure, and AI. It’s driven by vibrant tech hubs, a large new graduate workforce, and governmental support that includes incentives for tech startups.

Country Percentage growth # of developers
Brazil 27% YoY >5.4M
Mexico 21% YoY >1.9M
Colombia 25% YoY >1M
Argentina 22% YoY >1.1M
Peru 27.5% YoY >583K

Latin America spotlights

“Students learn to collaborate and cooperate, they develop their soft skills. I did a survey at the end of the semester and more than 70% of the students indicated that working on projects through GitHub improved their technical and leadership skills.” – José Alfredo Román Cruz // Professor, Technological Institute of Tlaxiaco

The fastest growing developer communities in Asia Pacific

The number of developers on GitHub in Asia Pacific communities is growing at some of the fastest rates globally—and we expect this trend to continue. This will be particularly true as generative AI increasingly empowers developers to engage with code and communities, regardless of their spoken language.

India has a fast growing developer community and is on pace to become the world’s largest by 2028. India prioritizes open source software and introduced the National Education Policy of 2020, which requires schools to include coding and AI in student curriculum. And notably, a recent study from the learning platform Udemy found that GitHub is one of the most sought after skills in India, comparable to English grammar skills.

As part of the United Nations-backed Digital Public Goods Alliance, India also builds its digital public infrastructure with digital public goods (DPGs)—ranging from software code to AI models. Its Open Healthcare Network platform, for instance, is a community-driven project fueled by a small but dedicated team of open source developers who use GitHub Copilot.

Country Percentage growth # of developers
India 28% YoY >17M
China 10% YoY >9M
Indonesia 23% YoY >3.5M
Japan 23% YoY >3.5M
Philippines 29% YoY >1.7M

Asia Pacific spotlights

“GitHub is like the air we breathe. It’s such a natural part of the way we work that sometimes we don’t even notice it. We cannot imagine living without GitHub.” – Ryuzo Yamamoto // Software Engineer, Souzoh

The fastest growing developer communities in Europe and the Middle East

Europe and the Middle East are shaping the future of AI in distinct ways. Countries in the Middle East are investing in AI with the aim to become global AI hubs. Meanwhile, over the last five years, the European Union has been putting forward several frameworks and laws to regulate technology and platform providers and generative AI, including the Digital Services Act, Digital Markets Act, AI Act, and Data Governance Act.

Country Percentage growth # of developers
United Kingdom 19% YoY >4M
Germany 21% YoY >3.5M
France 20% YoY >2.8M
Spain 24% YoY >1.8M
Turkey 19% YoY >1.7M

Europe and Middle East spotlights

“Basically, everything we build is iterating on open source. I think it’s only reasonable for a larger organization like us to engage and give back to the community where possible.” – Kay Goebel // Engineering Lead, Zalando

The fastest growing developer communities in Africa

Africa is nurturing an increasing pool of developers that is ready to drive the next wave of tech entrepreneurialism—and, in some cases, already are. The continent’s developers have cultivated a thriving open source community with initiatives like Open Source Community Africa and All In Africa.

Country Percentage growth # of developers
Nigeria 28% YoY >1.1M
Egypt 25% YoY >990K
South Africa 23% YoY >664K
Morocco 25% YoY >556K
Kenya 33% YoY >393K

Nigeria, Egypt, South Africa, and Kenya are considered Africa’s “big four” countries focusing on technical literacy, drawing global investors, and securing most of Africa’s startup funding in 2023. For example, Egypt’s Ministry of Communication and Information Technology is developing technical skills through its “Our Future is Digital” initiative.

“I think it’s important to change the perception that Africans are merely consumers; we are creators as well. By helping people across Africa build projects and showcase their work globally, I hope to change this narrative and demonstrate that Africa is also a hub for innovation and creativity, especially within the open source community.” – Ruth Ikegah // Community Lead, CHAOSS Africa

African spotlights

The state of open source

Graphic from GitHub's Octoverse 2024 report highlighting key statistics about the state of open source. It shows three metrics: '1B contributions to public & open source projects in 2024,' '15% year-over-year spike in JavaScript package consumption via NPM,' and 'Jupyter Notebooks usage surges amid AI and Python growth.' The design features a dark background with glowing text and gradient colors.

In 2024, developers globally made nearly 1 billion contributions to open source and public repositories across GitHub (this includes open source projects with a license and public projects without a license accepted by the Open Source Initiative). These contributions ranged from popular projects like home-assistant/core to generative AI projects like ollama/ollama (more on that later) and commercially backed projects like vercel/next.js.

Similar to last year, we saw commercially backed and generative AI projects attract the most contributions in 2024. But where those contributions came from is notable with regions outside North America and Europe surging in overall activity.

The image from GitHub's 2024 Octoverse report displays a graph analyzing the total public contributions to open source projects on GitHub from 2021 to 2024. The y-axis represents total contributions, ranging from 600 million to 1 billion, while the x-axis shows the years 2021 to 2024. The graph shows a consistent upward trend, indicating a significant increase in public contributions over time, with the 2024 data point nearing 1 billion contributions. The line is highlighted in a glowing green color, reinforcing the positive growth trend in contributions to GitHub's open source ecosystem.

More developers are consuming open source with a 15% spike in JavaScript packages through the npm registry. The top 50 packages saw net positive growth, which signals solidification and maturation of the JavaScript ecosystem. This also suggests that more people consume open source as key ecosystems—as with JavaScript—mature.

Graph from GitHub's Octoverse 2024 report showing the top 10 regions contributing to open source projects on GitHub. This includes United States (1), India (2), Germany (3), Brazil (4), United Kingdom (5), China (6), France (7), Canada (8), Hong Kong SAR (9), and Japan (10).

We see some differences between the top regions on GitHub and the top regions contributing to open source. For instance, Germany ranks as the third largest region contributing to open source on GitHub—but as of 2024, they are the seventh largest community on GitHub by developer population.

There’s a continued increase in first-time contributors to open source projects. 1.4 million new developers globally joined open source with a majority contributing to commercially backed and generative AI projects. Notably, we did not see a rise in rejected pull requests. This could indicate that quality remains high despite the influx of new contributors.

Top 10 open source and public projects attracting the most first-time contributors in 2024 on GitHub
1. microsoft/vscode
2. home-assistant/core
3. microsoft/PowerToys
4. Kas-tle/java2bedrock.sh
5. ultralytics/ultralytics
6. flutter/flutter
7. langchain-ai/langchain
8. Ultimaker/Cura
9. platformio/platformio-home
10. Koenkk/zigbee2mqtt

The top open source projects by contributors on GitHub. home-assistant/core and flutter/flutter continue to rank among the top projects by contributors on GitHub, reflecting their popularity and community strength. Notably, vercel/next.js showed up again in the top 10 list for all contributors, which indicates its continued growth and stature in web development.

  • firstcontributions/first-contributions, ultralytics/ultralytics, langchain-ai/langchain, and NixOS/nixpkgs also continue to appear in our top 10 lists suggesting that alongside early career developers looking to improve their skills, developers across GitHub are also exploring developing applications with large language models (LLMs) and cloud-native development practices.
  • ollama/ollama also appeared in the top 10 public and open source projects, with the most contributions outranking large projects such as PyTorch and PowerToys. As of 2024, it’s the third fastest-growing project by contributors on GitHub. This suggests a notable interest among developers in AI models that require less computational power (more on this later).
  • Notably, the IoT project, koenkk/zigbee2mqtt, also emerged on our list this year—and that’s likely due to the popularity of home-assistant/core, given koenkk/zigbee2mqtt can be used to get data such as room temperature. With Ultimaker/Cura on the list as well, it’s clear that there is a large maker and hacking culture in open source.
  • One callout: The programming language project, ProvableHQ/leo, which appeared for the first time in our top open source projects by contributors. As a statically typed language, Leo is often used for private applications developed on private, decentralized blockchain technologies.
Top 10 public projects by contributors on GitHub
Project Contributor count
home-assistant/core >21K
microsoft/vscode >20K
ProvableHQ/leo >20K
firstcontributions/first-contributions >13k
flutter/flutter >10K
NixOS/nixpkgs >9K
vercel/next.js >9K
langchain-ai/langchain >8K
godotengine/godot >7K
ollama/ollama >7K

Developers are driving societal change through popular open source projects. GitHub’s For Good First Issue is a curated list of DPGs that need contributors, connecting those projects with people who want to address a societal challenge and promote sustainable development. As more developers continue to join GitHub globally amid investments in connectivity and AI, we expect continued contribution growth in DPGs.

Significantly, 34% of contributors to the top 10 For Good Issue projects above made their first contribution after signing up for GitHub Copilot.

First-time contributors have contributed to projects that assist youth in the foster care system, facilitate drug discovery in middle- and low-income countries, enable whistleblowing around wrongdoings, and more.

More than 82% of GitHub contributions are made to private repositories. Developers made 4.3 billion contributions across more than 181 million private repositories in 2024. These numbers show the sheer scale of activity happening out of view in private repositories through free, Team, and GitHub Enterprise accounts—especially since we started offering private repositories to developers with free accounts in 2019.

A spike in Jupyter Notebooks use shows that open source underscores a growing community, especially as Python surges to become the most used language on GitHub. Since 2018, we have seen the use of Jupyter Notebooks steadily grow—and that growth surged in 2022 as research and experimentation with generative AI and machine learning took off. Since 2022, Jupyter Notebooks usage on GitHub has spiked more than 170%. And since last year, usage has increased by 92%. Data scientists and machine learning researchers commonly use the open source application for machine learning, data visualization, and more.

Graph from GitHub's Octoverse 2024 report showing a spike in utilization of Jupyter Notebooks across GitHub. This is calculated by looking at the distinct number of public repositories with at least one Jupyter Notebook by the year the repository was created. Since 2016, we have seen this number surge from near zero to more than 1.5 million repositories using Jupyter Notebooks.

The state of generative AI in 2024

 Graph from GitHub's Octoverse 2024 report showing the top-level stats on GitHub around generative AI in 2024. This includes call outs about how about 70,000 new generative AI projects were started in 2024, 98% year-over-year growth in the total number of generative AI projects on GitHub, and that AI is increasingly becoming part of the developers’ stack.

Over the past year, generative AI has moved beyond the hype of 2023 as developers and organizations alike look for results over experimentation—and data on GitHub shows as much. In 2024, developers on GitHub created over 70,000 new public and open source generative AI projects and made almost 60% more total contributions to all generative AI projects on GitHub.

Graph from GitHub's Octoverse 2024 report showing the growth in the number of public generative AI projects on GitHub. The number spikes after 2020—and surges after 2022. It culminates in nearly 150,000 generative AI projects on GitHub with 98% year-over-year growth.

AI models become part of the developer’s tech stack. We’re seeing innovation in generative AI on GitHub move into public repositories, showing that developers are building more and more in the open. As developers identify more and more use cases for AI, the role of generative AI models in software development has shifted from helping developers write code to a new building block in developing applications.

  • Yet, there’s a growing need among developers for smaller models with good performance and lower compute costs, driven by a desire for the embedded use of AI models in smartphones.
  • Notably, the fastest-growing open source AI project in 2024 by contributor count was ollama/ollama, suggesting increased experimentation with locally run LLMs.
  • As models become smaller and less compute intensive, we expect more developers will use them in applications.

Developers on GitHub are trying to lower the barrier to AI experimentation. The top 10 public generative AI projects work to improve access to AI models to make experimentation easier. Applications range from creating user-friendly interfaces that improve text-to-image generation to building autonomous AI agents for task management. To pull this data, we looked for repositories that use generative AI-related keywords collected from our research last year.

While we see consistency in developer interest in image generation via AUTOMATIC1111/stable-diffusion-webui and AI agent development via Significant-Gravitas/AutoGPT, we also see some shifts in AI development work on GitHub:

  • A rise in smaller scale models. In the last year, developers on GitHub have worked with Meta’s LLaMA models, which suggests a growing interest in smaller, open source models.
  • We also see via projects like binary-husky/gpt_academic a growing interest in developing AI tools for specialized use cases such as academic research.
  • A continued focus on developing AI agents to automate processes. The continued presence of AutoGPT-related projects indicates that automation remains a significant area of exploration, with developers focusing on enhancing the capabilities of AI agents.

More than one million open source maintainers, and verified students and teachers have used GitHub Copilot at no cost. In 2024, we saw a 100% increase in teachers, students, and open source maintainers using GitHub Copilot in our complimentary program. This underscores AI’s utility in education and upskilling (like learning a new programming language). In the last year, over 450,000 GitHub Education users were first-time contributors to projects on the platform.

💡 If you’re a student, teacher, or maintainer, you can apply to get complimentary access to GitHub Copilot.

We see a correlation in increased activity among developers who regularly use GitHub since the launch of GitHub Copilot. Among developers who use GitHub regularly and use GitHub Copilot, we see higher activity (between 12-15% among developers who use GitHub five days a week and 8-15% among developers who use GitHub once a week) across open source and public projects. This echoes research conducted into AI coding tools’ impact on overall perceived and quantitative productivity gains among developers.

We are already seeing growth in global contributions and contributors to generative AI projects. Developers in the United States, Hong Kong SAR, India, Germany, and France are among the top groups driving contributions to generative AI projects. India, for instance, had a 95% increase in year-over-year contributions to generative AI projects on GitHub while France had a 70% increase. These communities also saw some of the largest year-over-year growth in contributors.

Other communities saw some of the highest percentage growth in contributors to public generative AI projects, like the Netherlands (291%), Ethiopia (242%), Costa Rica (171%), Serbia (175%), and Vietnam (143%).

  • These communities have fewer total contributors, causing any growth to result in a high percentage rate—but their growth still shows the global community of developers collaborating on generative AI projects.
  • We anticipate this growth will continue, especially as more small language models are introduced in the broader marketplace, reducing computational requirements around developing software with AI. Moreover, as generative AI coding tools enable developers to write code with natural language, we see more opportunities for developers globally to contribute to projects, regardless of their native language.

Graph from GitHub's Octoverse 2024 report showing the top 10 global regions with the most contribution to generative AI projects on GitHub in 2024. This includes the United States (1), Hong Kong SAR (2), India (3), Germany (4), the Netherlands (5), Canada (6), France (7), Japan (8), United Kingdom (9), and Singapore (10). The United States, notably, leads this cohort by a significant number.

Graph from GitHub's Octoverse 2024 report showing the top 10 global regions with the most contributors to generative AI projects on GitHub in 2024. This includes the United States (1), India (2), Hong Kong SAR (3), China (4), Germany (5), Japan (6), the United Kingdom (7), Singapore (8), Canada (9), and France (10).

💡 Stay smart. When comparing regions with a high number of generative AI contributors versus regions with a high number of contributions, we see that while growth is still happening globally, the regions with larger developer populations are rising to the top.

The state of security and automation in 2024

In 2024, developers across GitHub used secret scanning to detect more than 39 million secret leaks. We also saw developers and open-source communities respond more quickly to security incidents through new generative AI security tools, automated alerts, and proactive measures. This isn’t just helping make software more secure—it’s leading to faster fixes, too.

The most common security vulnerabilities in 2024. Injection, an admittedly large category of security issues, was the most common type of vulnerability found across public and private repositories via CodeQL, a code analysis engine developed by GitHub to automate security checks. Meanwhile, Security Logging and Monitoring Failures vulnerabilities were found more often in private repositories.

Graph from GitHub's Octoverse 2024 report showing the most common types of security vulnerabilities found by CodeQL, GitHub’s code analysis engine, in 2024. This includes Injection (1), Broken access control (2), Insecure design (3), Cryptographic failures (4), Identification & authentication failures (5), Security misconfigurations (6), Software & data integrity failures (7), Security logging & monitoring failures (8), Server side request forgery (9), and Vulnerable & outdated components (10).

Developers are increasingly using AI for code reviews and security vulnerability remediation. AI doesn’t replace security experts, but it can augment their knowledge and capabilities while helping address a global shortage of security professionals.

  • Notably, developers are experimenting with AI tools like Copilot Autofix, an AI-powered security tool that automatically detects vulnerabilities and suggests fixes while offering explanations in natural language.
  • We expect tools like this to improve security across open source and public projects—as well as with closed source, too. So far with Copilot Autofix, we’ve seen it helps developers:
  • Fix code vulnerabilities more than three times faster than those who did so manually, reducing time to fix for a pull request-time alert from 1.5 hours to 28 minutes.
  • Fix cross-site scripting vulnerabilities seven times faster, reducing time to fix to 22 minutes, compared to almost three hours.
  • Fix SQL injection vulnerabilities twelve times faster, cutting time to fix to just 18 minutes, compared to 3.7 hours.

Developers on GitHub are using automation to manage increasing security responsibilities. For instance, developers are merging an increasing number of pull requests generated by Dependabot, which sends alerts about outdated or vulnerable dependencies in a pull request. The gap between pull requests opened by Dependabot and pull requests merged by developers continues to shrink year over year, too.

While developers are using automation and AI to secure their code and applications, there’s room to improve. Government regulations increasingly demand developers know the ingredients going into their software artifacts, which increases demand for implementing tools that automate governance and compliance.

94% of the top 50 open source projects are using the OpenSSF Scorecard to help ensure their projects implement security best practices. We evaluated this by looking at roughly 1 million repositories that have OpenSSF scorecards in place from the top 50 most popular open source projects. The OpenSSF Scorecard action assesses repositories, runs checks for security best practices, and generates a security scorecard with real-time feedback.

Becoming familiar with GitHub security features, such as code scanning and secret scanning (which are free for open source developers), and supply chain governance features like artifact attestations is a good first step towards automating best security practices. Enterprise developers can also turn to their OSPOs for support in navigating regulations and implementing security measures across their open source dependencies, as OSPOs will play increasingly critical roles in compliance.

Developers are increasingly automating more aspects of build, test, and security activities using GitHub Actions in public and open source projects. In 2024, we saw developers use 10.54 billion total GitHub Actions minutes (measured in CPU minutes). That’s up almost 30% year over year from the 7.3 billion GitHub Actions minutes developers used in 2023.

The rising number of developers employing automation was mirrored by growth in the number of GitHub Actions in the GitHub Marketplace. Some of the most popular actions include Gosec Security Checker, Super-Linter, PHPLint, and Metrics embed.

“We get everything we need from the GitHub Actions marketplace to build and support our tailored CI/CD pipeline.” – Bjoern Bengelsdorf // Senior Software Engineer, Otto Group

Among the most popular GitHub Actions in the GitHub Marketplace are OpenCommit, which augments commit messages with meaningful AI-generated content when pushing to remote, and Replexica, which provides AI-powered code translations across multiple programming languages. These actions suggest that developers are finding more use cases for generative AI in their workflows.

Graph from GitHub's Octoverse 2024 report showing the top-line statistics about the state of programming languages on GitHub in 2024. This includes call outs about Python now being the most-used language on GitHub, the continued growth of infrastructure as code (IaC) as HCL and Shell see increased utilization, and TypeScript standing as the third most-used language after Python and JavaScript.

Python becomes the most used language on GitHub, overtaking JavaScript after a 10-year run as the most used language. This is the first large-scale change we’ve seen in the top two languages since 2019—and it speaks to the rise in Python that’s accompanied the generative AI boom we’ve seen over the past two years.

  • What the Python Software Foundation says: We reached out to the Python Software Foundation, and Deb Nicholson, the foundation’s executive director, gave us the following response, “Our goal is for Python to be a great tool that helps the ever-growing developer community build the world they envision. We couldn’t be more pleased to learn about Python’s continued rise in popularity on GitHub, especially coupled with the increased use of Jupyter Notebooks, data analysis, AI, and open source technology.”
  • What else we’re seeing: Shell also overtook C in 2024. Though languages like Rust and Go are on the rise, more conventional languages are still heavily used and in demand. Additionally, high adoption of beginner-friendly languages like JavaScript and Python raises the possibility of more people learning how to code, as these are popular languages in settings like academia and data science.

Graph from GitHub's Octoverse 2024 report showing the top programming languages from 2014-2024. In 2024, the top languages include Python (1), JavaScript (2), TypeScript (3), Java (4), C# (5), C++ (6), PHP (7), Shell (8), C (9), and Go (10).

Notably, JavaScript still ranks first for code pushes alone. More developers still use JavaScript more often to push code, but in absolute activity across all contribution types on GitHub, Python now outranks JavaScript. In addition to Python’s relative ease, it is also a popular choice for data science and generative AI—both of which have grown sharply on GitHub over the past two years.

  • TypeScript is cutting into JavaScript. After growing exponentially from 2014-2019, TypeScript overtook Java last year to enter the top three programming languages on GitHub—and its continued growth speaks to its utility as a language, type checker, and compiler all in one. While Python is increasing in contributor counts for both code push activity alone and other activity faster than JavaScript, it isn’t increasing in those faster than JavaScript and TypeScript combined. Rather than a slow down in the JavaScript community, what we are seeing is a transition to TypeScript for a large proportion of new commits. TypeScript is a superset of JavaScript and in the same npm ecosystem as JavaScript which makes it simple for JavaScript developers to gradually adopt.
  • JavaScript still maintains a massive developer base as we see increases in npm package consumption. The language is versatile in running on both client and server sides, and easily adapts to different frameworks and standards, among other reasons for its popularity. And as its robust ecosystem continues to mature, we’re seeing strong growth in the consumption of packages via the npm registry with a 15% year-over-year increase.

Graph from GitHub's Octoverse 2024 report showing the 10 fastest growing programming languages in 2024. These include Python (1), TypeScript (2), Go (3), HCL (4), Kotlin (5), Dart (6), Rust (7), Luna (8), TSQL (9), and Blade (10).

Graph from GitHub's Octoverse 2024 report showing the top five languages most commonly used in repositories created during 2024. This includes JavaScript (1), Python (2), Java (3), TypeScript (4), and C# (5).

Rust continues to gain popularity for its safety, performance, and productivity. Originally intended to serve as a safer alternative to C and C++, Rust has exploded in popularity and adoption, with top applications, such as Microsoft Windows, using Rust to rewrite core libraries with its memory-safe code.

Based on emerging and top languages, the notion of a developer extends beyond software developers to roles like operations or IT developers, machine learning researchers, data scientists, students, teachers, and mathematicians.

  • Python is the top preferred language for data science and research, and its continued growth over the past few years—alongside that of Jupyter Notebooks—may suggest that activity on GitHub is going beyond traditional software development.
  • T-SQL, an extension of SQL that’s primarily used within Microsoft SQL server, also indicates activity among data scientists and database administrators.

Read more on why Python keeps growing >

The continued popularity of HCL and Go reflect growth in operations and IaC work, particularly around managing cloud-native infrastructure. Since we first saw massive growth in cloud-native development in 2019, IaC has continued to grow in open source. The 25% year-over-year growth of HCL in particular suggests developers increasingly use declarative languages to dictate how they’re managing cloud deployments.

The popularity of HCL and Go as well as Dockerfiles suggest that developers are scaling work in cloud-native applications. Increased Terraform use follows the increased use we’ve seen in Dockerfiles and other cloud-native technologies over the last decade. The increased adoption of IaC practices also suggests developers are bringing more standardization to cloud deployments.

Graph from GitHub's Octoverse 2024 report showing the growth in Dockerfiles usage across GitHub, which increased sharply in 2023 and now stands at nearly 1 million repositories that include a file named Dockerfile.

Take this with you

As the developer’s tech stack evolves, so does their role over time. We leave you with three takeaways:

  • Generative AI models are becoming core building blocks in software development. They power coding tools that offer fixes and context behind vulnerability remediations, suggestions in response to natural language prompts and existing code, and facilitate learning among new and experienced developers alike. They’re also changing how developers build applications, and developers will benefit from platforms that allow them to easily experiment with AI models as building blocks without requiring separate setups or extra costs.
  • The global community of developers on GitHub is expanding rapidly—and the next generation of developers is getting started on GitHub. An increasingly diverse community of developers drives innovation and talent, and refreshes the pool of solutions to increasingly complex problems. Increased access to and experimentation with AI could also simplify and personalize the coding journey for new developers, lowering entry barriers and further diversifying GitHub’s community of developers.
  • The notion of who a developer is and the scope of what a developer does is changing. The rise in Python, HCL, and Jupyter Notebooks, among other things indicates that the notion of a developer extends beyond software developers to roles like operations or IT developers, machine learning researchers, and data scientists.

Glossary

  • 2024: Refers to October 1, 2023 through September 30, 2024.
  • Contributions: Commenting on a commit, issue, pull request, pull request diff, or team discussion; creating a gist, issue, pull request, or team discussion; pushing commits to a project; and reviewing a pull request.
  • Contributors: GitHub users who have performed any of the contribution activities defined above
  • Developer: Anyone with a GitHub account. Also sometimes referred to as a GitHub user. The open source and developer communities are an increasingly diverse and global group of people who tinker with code, make non-code contributions, conduct scientific research, and more. GitHub users drive open source innovation, and they work across industries—from software development to data analysis and design.
  • Generative AI: To find generative AI projects, we sourced a list of topic strings from GitHub CEO Thomas Dohmke’s white paper with Keystone and searched for projects tagged with at least one of those topics.
  • GitHub Classroom users: Anyone who has logged into GitHub Classroom. All GitHub Classroom users are GitHub Education users, but not all education users are classroom users.
  • GitHub Education user: Includes GitHub Classroom users, couponed users (students, teachers), and users affiliated with an education organization.

Methodology

This report draws on anonymized user and product data taken from GitHub from October 1, 2023 through September 30, 2024.

More data is publicly available on the GitHub Innovation Graph—a research tool GitHub offers for organizations and individuals curious about the state of software development across GitHub. Only public activity is included, and metrics for economies are only reported when there are 100 or more unique developers performing the relevant activity within the time period.

For a complete methodology, please contact press@github.com.


Written by

GitHub Staff

GitHub Staff

@github

GitHub is the world's best developer experience and the only AI-powered platform with security incorporated into every step, so you can innovate with confidence.

Related posts