A Beginner’s guide to Git and GitHub 2017

GitHub is the one of the largest open source platform for sharing and handling the projects. GitHub is well known for efficiently handling of the projects and serving whether it is a small project or large project nothing matters. But also GitHub is very useful for a developer and programmer. In this guide, i’ll be telling you something about GitHub, features of GitHub and how to use GitHub. So Let’s get started.

So, the first question will arise in your mind i.e. What is the shit difference between Git and GitHub?

Basically speaking GitHub is just a superset of Git. Github is a GUI client of Gits.

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

When Git is started, it was on command line and later on the GUI clients like GitHub, BitBucket are introduced.

Why Should be learning about GitHub?

Yes, this is an important question that should be asked before we dig deeper into this topic. So let’s answer it. If you are a person that is related to the technology and probably a programming field then its like an essential part which plays an important role in developing and sharing programming knowledge. Specially people around the world use GitHub, in order to work together on a small as well as big projects. Also big IT companies like Google, Microsoft, IBM, Infosys, etc also collaborate with GitHub for there projects. So, I think that GitHub learning is worthy.

Features of GitHub

1.) Propose changes

Let me explain this feature in detail because it covers one of the most basic as well as important feature i.e. Pull Requests. So, for instance lets suppose you are working on a project like building an application, and you want certain changes as time goes i.e (improvisations in an application). And along with that you also don’t want to break the original code by experimenting new stuff on your application’s source code. I know you will say that “Hey, I’ll just copy the whole application source code and experiment there”, Okay your point is valid and considerable but yet doesn’t give a perfect shot. What if you are working with a team on an application then what? Now copying of the source code by every individual in your team is not a good idea.

So GitHub proposed a new feature that is Pull Requests. That perfectly enables every individual to collaborate on a project directly. So I’m not gonna explain it completely here though its big topic to discuss on. I’ll surely posting an article on that also following this series.

2.) Request Reviews

While working in a team, you may perform some changes on pull requests. Basically what you can do is, you can ask other team members to review your implementations and changes that you have made. That will make an application more efficient, less buggy and also less efforts.

3.) Compare your code

You can actually compare your changes that you have made on a repositories. Also other team members can compare the code with the original one.

4.) Comment in context

You can comment on the reviews that are added by your team members. A good discussion can be done at the same point. And you can reply to someone to start discussion.

5.) Tools of Ease

GitHub also supports different extensions and tools that make your work more easier than ever. You can download and use these extensions directly from GitHub Marketplace Also this is a wide topic and it includes variety of tools and that needs a individual articles to be written on them in order to understand it. I’ll post them also in following posts.

6.) Set community guidelines

You can set roles and expectations without starting from scratch. Customize common codes of conduct to create the perfect one for your project. Then choose a pre-written license right from your repository.

7.) GitHub Pages

Host your documentation directly from your repositories with GitHub Pages. Use Jekyll as a static site generator and publish your Pages from the /docs folder on your master branch.

8.) Protect branches

Only merge the highest quality code. You can configure repositories to require status checks, reducing both human error and administrative overhead. Branches are also a wide topic to be covered in an individual post.

9.) Host all your code

You can host all your code at the same place and these codes are placed in “containers” (not an official world to use BTW :-) ) Repositories. GitHub provides unlimited access to public repositories that are created by other users or teams.

10.) Show your contributions and achievements

Yes, GitHub also keep a record of your contributions you have done since you have joined the GitHub. Other people on GitHub can actually see your achievements. This feature also builds your reputation in the GitHub community.

Okay Guys this is all for the GitHub, that you need to know about GitHub. Or you can say this is a quick introduction to GitHub and in coming articles related to GitHub, I’ll be explaining all the features of it completely and in a great detail. And there are variety of features that are yet to know in order to completely master GitHub. I know many of you know about GitHub but not completely that’s make a difference which I hope can clear. Thanks for visiting blog!!!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.