What is the GitHub repository

9 things you should know about GitHub.com

Around 36 million programmers from all over the world cavort on GitHub.com to discover and share software and to develop better solutions together. You work privately or professionally in a team on a program or participate in a publicly accessible open source solution. Companies like Airbnb, IBM, PayPal and Spotify take advantage of GitHub.com. Pretty much every experienced Internet user has landed on the site and has probably downloaded a program from there. Learn 9 Essential Things About GitHub.com Below!

1. Git is a version management and ensures order

Usually several people work on the same software and the files are continuously edited and updated. For this purpose, code management systems have been used for a long time, which companies, for example, run on their server. As the project work progresses, more and more current versions are created and the management of these versions is carried out by the Git software. This means that all programmers worldwide have a free online version management system with which they can manage privately protected or free and publicly accessible projects. After every change an automatic saving takes place, this can be undone or restored.

2. Software users simply download the programs

Users of the software stored on GitHub.com do not care about these and other functions. It is sufficient for them to find the green button to download the zip file of a project. The current version of a program is loaded onto the computer and installed with a click. Many developers manage their open source programs at GitHub.com and offer them for download there.


3. The meaning of the most common terms

In order to find your way around the websites, you need to know the meaning of the terms. Here is a small list:

  • The Repository is a project that manages files.
  • The different file versions are in the repository in Branches Each version represents a branch of the entire "tree".
  • Submitting a new branch version is saved as a Commit With this the programmer says that the work is done and he “hands it over” it.
  • When a programmer has made changes to the code and wants them to be reflected in the original project, a Pull request The repository administrator then decides whether the code is correct, sensible and desired and whether the pull is carried out.
  • Anyone can edit open source projects and, if desired, develop their own offshoot of a program. For this one becomes Fork created, whereby a "fork" takes place. Up to this fork, the software is identical to the version of the repository and differs from here on. If a fork is to be transferred to the original project, a pull request is made.

4. The hub part of the GitHub

The hub stands for the graphical user interface of the website, it expands the Git capabilities with a practical interface and clearly shows the development process. The many functions such as forking can be conveniently carried out at the click of a mouse, which is what makes GitHub.com so user-friendly and useful for working in a large community. For example, you can use the community functions to follow a developer and you will be automatically informed about new developments. In this way you have the opportunity to understand the work of a professional step by step and to learn from it.

5. Free or Pro Membership?

When registering, you can choose between the basic membership and the pro version for 7 USD per month. The free version is limited to three collaborators for private repositories, the Pro version does not have this limitation and advanced tools are available.

Organizations can create a shared account by managing business and open source projects side by side. Owners and administrators decide on the access rights of the members and have access to extended security functions.


6. More data security for local Git repositories

You can install the Git software for version management locally, create new repositories, check them out, add changes and load them into the remote repository. Git - The easy way to get started offers clear instructions with links for downloading for Mac OS X, Windows and Linux. By synchronizing local Git repositories with GitHub.com, you increase data security and make collaboration with other developers possible.


7. Edit the code simply by clicking on the pencil and automatically create a fork

After registering, you are part of the community and can get started straight away and work on public projects or start your own project. To edit a file in an open source project online, simply open it in the browser view and click on the pencil in the upper right corner. Then click on “Propose File change”. A fork and a pull request are automatically created by the repository. You don't have to fork yourself to edit code locally.


8. A list of all supported syntax

In the Grammer Index you will find a list of all programming languages ​​for which syntax highlighting is supported. For the automatic detection and activation of the syntax highlighting you can start the code with four "" as here:

Then save and open the file and the syntax highlighting is displayed.

9. GitHub Pages - repositories become websites

For software projects, developers often want to provide a website with demos and documentation. Such a website can be implemented with GitHub Pages via the same repository.

To do this, start the page generator in the repository settings under GitHub Pages. A few clicks later the page is created and can be found at http://username.github.io/repository. To use a different domain, you can set this in the settings and then have to adjust the CNAME entry at the hosting provider. Instead of using the page generator, website creation is also possible without a template. GitHub Pages is used to provide small project pages.


If you are interested, register at GitHub.com and try out the possibilities.


Image by Pexels from Pixabay

More articles on the topic: