GitHub is a website and a service known to be used by “coders” often, and many do not know what GitHub is. Want to know what GitHub can do? Please continue reading this article.
“Git” in GitHub
To understand what GitHub is, you first need to understand what Git is. Git is an open-source version control system (open-source version control system) developed by Linus Torvalds – also the creator of the Linux operating system. More information is that Github also has similarities with other version management systems Subversion (SVN), CVS and Mercurial.
So, Git is also a version management system, but what does Git do? When developers create a project, they will constantly update the project itself, even if it has not been released or has been out for a while.
The version management system makes it easier to store and edit on Git’s server-based repository. Allows developers to collaborate and download the latest versions of the project, change them, and upload the latest changes to Git. All other developers will also see the changes, download, and contribute to completing the project.
In particular, ordinary people can also access that project and download them for normal use (if it is in Public mode). Most Linux users will be more familiar with how Git works, using Git, SVN, or the extremely popular similar systems to download the necessary files – especially when we need to compile ( compiler) that project from the source code.
Git is the version management system recommended by most famous developers because it possesses many more outstanding features and features than current management systems. With an efficient and extremely secure storage mechanism. If you want more detailed information, the Git Basic page explains in more detail how Git works.
“Hub” in GitHub
We already know that Git is a version management system, similar to but much better than others. So, what makes GitHub so special? Git uses command-line to work, but everything including Git is based on a Hub – GitHub.com – where developers keep their projects and people have common ideas.
What is Version Control?
Version Control will help developers track and manage changes included in the code on their projects. With the rapid development of software projects and websites, using Version Control is necessary, such as WordPress.
Currently, WordPress is considered a project that many people use to create sales websites. If the developer needs a small edit, or add a feature to WordPress, it is not safe to let them directly edit the official source code.
Instead, Version Control will be a safe choice when you use branching and merging.
With branching, the developer clones a similar version of the source code. The developers will then improve some features on this branch and test them to see if they work during the merge.
After the test is successful, the developers will merge them with the official source code.
And if there are any problems, you can restore the source code via GitHub.
Repository (also known as repo) is where all the files related to the project are stored. Each project will have a different repository, which you can access via its URL.
Forking is used when you want to create a new project based on an existing project. This is a handy feature supported by developers when they need to develop more features for any software or project. If you’re looking for a GitHub project that you want to improve on, you can “fork” that repository, edit it as you please, and release an improved version of the project on another repo. If the original repo has any updates, you can easily add those updates to your current fork without affecting what you’re doing.
You’ve been working on fork a repo for a while, you’ve added some special features to that project, and you want those features to be added to the official project/repository. Still, you need help permission of the owner of that repo that authorizes. So the Pull Request feature was born, the official developers will know what you do, the progress of the work, and allow those features to be added to the official project. If you have any problems during the pull request, GitHub provides you and the developer managing the project with the means to communicate with each other.
In terms of GitHub’s social support, this is an extremely powerful feature, allowing more projects to be developed. Each user on GitHub has their profile to check their work history and participate in other projects via pull requests.
Updates and changes on the project will be publicly discussed directly. When there are more developers or collaborators later, they can know what the project has done before accelerating progress more work level. Before GitHub was launched, if developers wanted to contribute to a project, they needed to contact the project’s author directly – via email, for example – and convince them to allow you to do so contribute to that project. So with the launch of GitHub, it’s now easier for developers to contribute their ideas.
When there are so many people involved in a project, it can be difficult to keep track of the progress of the work – what changes did this person make, when and where did they save the changes. Don’t worry, GitHub will take care of all these issues by keeping track of things as they are pushed to the repo.
The Ultimate Guide to Using GitHub
For you to have a clearer view of GitHub’s interface, please see the following.
From here, you will see how many branches are in use and when anyone has committed to committing (something like a save file). Depending on how the repo is set up, you can also create your branches and commit them.
And every time you make any changes, you will submit them back to the branch using a pull request. As I explained above, a pull request is an act of “push” code to the branch that we need the approval of the source code manager. And also help them know exactly what you did on that branch.
And if you want to edit source code on your account without restrictions, then fork will be the feature you need (fork is similar to a branch, but a fork will do more).
GitHub is not just for developers
Perhaps in this article, I mentioned many ways to use GitHub for developers, and you probably think that GitHub is only for programmers, however, you can upload everything to GitHub. Word Excel will be the software you use most often if you are sitting in school, and with each presentation, editing content is normal. So you can use GitHub to make your version management system.