GitHub Copilot is supposed to suggest and complete code in­de­pend­ently as an assistant. Currently, the GitHub AI is still in the testing phase and is prone to errors. As time goes on, however, it should work much more ef­fect­ively.

Cheap domain names – buy yours now
  • Free website pro­tec­tion with SSL Wildcard included
  • Free private re­gis­tra­tion for greater privacy
  • Free Domain Connect for easy DNS setup

What is GitHub?

To un­der­stand what exactly the GitHub Copilot is and what it is supposed to do, it is important to first look at GitHub. GitHub is a col­lab­or­at­ive version control system whose US publisher has been part of Microsoft since 2018. GitHub is designed to allow large teams to work on code together and in­de­pend­ently. All versions are stored and changes can be merged as desired.

Tip

Deploy static websites directly via GitHub: With Deploy Now from IONOS, you’ll benefit from more security and faster loading times. Sign up now and get your first three projects for free!

What is the GitHub Copilot?

Since 2021, the company now offers GitHub Copilot for some users. The AI tool is a smart assistant designed to help de­velopers create code. Initially, this works via auto-com­ple­tion. When the user starts typing in code, GitHub Copilot makes several sug­ges­tions to the user on how that code might look complete. Copilot obtains its in­form­a­tion from publicly available code, such as different re­pos­it­or­ies. GitHub AI goes much further, re­cog­nising numerous Internet pro­gram­ming languages such as Go, Java, JavaS­cript, Python, Ruby, and TypeScript. The ar­ti­fi­cial in­tel­li­gence gets smarter and smarter as time goes on and then provides better sug­ges­tions.

Con­versely, this also means that GitHub Copilot is currently still very ex­pand­able. The company itself also points out that the suggested code is not yet perfect. In addition, the hit rate of the sug­ges­tions is very low so far. Users must therefore assume that the code is not yet ex­ecut­able and that some of the sug­ges­tions are even unusable. However, the copilot in Git already offers the first useful hints or truly usable sug­ges­tions.

GPT-3 is the basis for GitHub Copilot

The basis for GitHub Copilot is provided by the language pro­duc­tion system GPT-3. This was published in 2020 by OpenAI and uses deep-learning strategies to complete human texts or to compose its own texts. The AI uses various al­gorithms for this, collects huge amounts of data and creates new content from it, which should hardly differ from the texts of human authors. The same applies here: The more the AI is ‘fed’, the better its results will be. Attempts were already made with GPT-3 to create code on the basis of learned struc­tures. Microsoft then invested massively in OpenAI and GPT-3, so that the knowledge gained can be used for GitHub Copilot.

Tip

A website as unique as your business: With the website builder from IONOS, you can design your own pro­fes­sion­al website in just a few steps. Benefit from high-quality design templates and ease of use!

How to activate GitHub Copilot?

Currently, GitHub Copilot is not yet freely available. Only a group of selected testers have the op­por­tun­ity to test the AI at the moment, make sug­ges­tions, and improve the tool that way. The goal is to sooner or later turn GitHub Copilot into a com­mer­cial program used by de­velopers for their daily work on new software. However, it is not yet known when the AI will be ready. During the learning and testing phase, those in­ter­ested can only get a first glimpse. Visual Studio Code, Neovim, and JetBrains IDEs such as PyCharm and IntelliJ IDEA are currently supported.

How well does the AI work?

While the initial reports are promising, GitHub Copilot still seems to be far from market-ready. The overall hit rate is not yet par­tic­u­larly high and the quality of the sug­ges­tions is also clearly ex­pand­able. For the most part, the code is not yet usable and leads to errors in many cases. The quality of a future com­mer­cial release will depend heavily on how well the AI learns and the quality of the source code provided to it. Errors in the source material are currently still taken over by GitHub Copilot just as un­sus­pect­ingly as unclean syntax. After the learning phase, the results should also get better.

Tip

Here’s the way to the perfect website! With the Website Design Service from IONOS, our team of experts not only creates a pro­fes­sion­al and highly func­tion­al website according to your wishes, but also ensures that your online presence always remains up to date.

What are the problems with GitHub Copilot?

In addition to the afore­men­tioned problems with in­ap­pro­pri­ate sug­ges­tions or ex­pand­able syntax, there are also dis­cus­sions about the basic error-proneness of the codes that currently arise with GitHub Copilot or could arise in the future. Since the basis through which the AI is supposed to learn is often faulty or at least untested, the end result is also too often uncertain. Although it is pointed out that all input provided by the AI is to be verified, it is at least ques­tion­able whether this can actually help daily work in the long run. In previous tests, the code from GitHub Copilot often performed poorly.

Some de­velopers also fear that using Copilot in Git could po­ten­tially lead to copyright in­fringe­ment should the AI simply take over entire blocks of code. While there are different fair use rules; whether an AI’s learning successes fall under them is at least debatable. This is all the more true if GitHub Copilot could also be used for com­mer­cial purposes in the future. The company itself explains that right now only a few source codes are taken over com­pletely or partially unchanged. With greater learning successes, this figure is expected to drop even further.

For whom is GitHub AI worth­while?

Currently, GitHub Copilot is still a gimmick whose added value is very man­age­able. However, once the AI has learned more, it could take a lot of work off de­velopers’ shoulders. On the one hand, it could show al­tern­at­ive solutions and provide suitable syntax examples without a tedious search in different doc­u­ment­a­tion. On the other hand, it should add in­di­vidu­al code blocks in­de­pend­ently at some point and therefore con­trib­ute time-consuming lines. Although this would make the work easier, a certain basic knowledge will still be necessary for de­vel­op­ment. It will probably be a long time before an AI writes code in­de­pend­ently.

Summary: Great potential, sobering start

GitHub Copilot is an obvious idea that could someday be a natural part of working with source code. The idea of an attentive assistant that takes over smaller tasks and points out possible errors is quite promising. Currently, however, the AI is still very far away from this role. The current test phase is only a first step in this direction and the error rate is therefore high, as expected. It is not yet possible to reliably say when GitHub Copilot will actually be available to all in­ter­ested parties. However, a first step has been made with the test phase.

Tip

In the Digital Guide, we also explain the dif­fer­ences between GitLab and GitHub and test who would win the Con­tinu­ous In­teg­ra­tion vs. Con­tinu­ous Delivery vs. Con­tinu­ous De­ploy­ment com­pet­i­tion. If you need a Git tutorial or are looking for GitHub al­tern­at­ives, you’ll find all this here as well.

Go to Main Menu