-
Notifications
You must be signed in to change notification settings - Fork 6
Learn Git
A programmer creates programs. The process of creation is not a one-step process. That is, having a complete and correctly working program needs more steps. You'll try to keep track of your changes to your program. When you reach a point where your program correctly runs but it is not complete, at that point you will have a copy of the things that you did until this point. In that case, you will have versions of your program. You will work on the newly-created duplicate of your program. And if you like it, you will continue with it. However, those are the things that you do manually and it gets complicated if you work on a big project.
Not only the programmer encounters with that problem, actually if you are a designer/software engineer/developer, then you may have lived a situation shown in the image below. Hence, everyone who faces with the problem needs something which really take care of the process of version control.
This is the place where Git and GitHub take the control. First, let's look what they are.
Git is a free and open source distributed version control system designed to handle projects with speed and efficiency.
- It basically is a tool to manage your source code revisions.
- Code can be stored in a remote place, so physical damage to local storage is not a issue of concern.
- Ability to developers to work from remote places and gives ability to collaborate with each other.
- Many developers contributed to Git to make it more useful and reliable…
It is a web-based Git repository hosting service. GitHub offers all of the distributed revision control and source code management (S.C.M.) functionality of Git as well as adding its own features.
And now the reasons why we should use them.
1. Centralized cloud storage of your code.
Your code is always available to you. No matter what computer your using, or where you are. Hard Drive failure? No problem. All your code is backed up.
2. Version Control.
Every version of your code is also available to you. Git doesn’t work the same way as saving does in Microsoft Word. With Git, every time you commit your code, Git remembers what has changed since the last time you saved your code. Even if you’ve changed a file 1000 times, Git will remember each and every change. Need to revert back three months on a project for some reason? Git makes it easy.
3. Working in teams.
Git simplifies the process of working with other people and makes it easy to collaborate on projects. Team members can work on files and easily merge their changes in with the master branch of the project. This allows multiple people to work on the same files at the same time.
4. Get involved / Open Source.
GitHub is a basic social networking site that makes it easy for even beginners to contribute to large projects and get involved in the open source community. You can meet other developers, ask questions about their code, and propose code changes. By using GitHub regularly you can learn how to work well in a development team environment.
5. Bettering your code.
GitHub allows you to look back on code you wrote in the past. You’re able to look at projects from years ago and make them better, or just see how you’ve been progressing.
6. Show off
GitHub is a great way to get noticed — Show off your code and your projects! Especially if you’re a self taught developer, GitHub provides you a way to prove to recruiters and companies that you can program.