Start using github. NOW!

github.png

If you’ve developing application for a while now, you must have heard of github or some nerd might have suggested you to use it. And you might be wondering what the heck is github and why do I use it for.

In order to understand github you must understand the concept of git. According to wikipediaGit is a version control system that is widely used for software development and other version control tasks. It is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows.” So the first line says “Git is a version control system…”, what does that mean?

Version Control System

When we are making something we constantly make changes to our code and release new version upto the official release.Version control systems keep these revisions straight, and store the modifications in a central repository. This allows developers to easily collaborate, as they can download a new version of the software, make changes, and upload the newest revision. Every developer can see these new changes, download them, and contribute Similarly, people who have nothing to do with the development of a project can still download the files and use them.

Few terminologies to remember before starting 

electrocat.png

Before learning about github I had no idea what these terminologies mean, neither had I heard of ’em. Here are some big words

Repository

Its nothing but a folder where your project is stored. This can also be termed as ‘repo’. All your codes, files, text and images of your project resides inside the ‘repo’. Each repository has its name. A repository can be either private or public.

Commit

This is the main technology git exists for. When you commit you take a snapshot of your current project at that particular point of time. Git creates a checkpoint of your project at that time where you can always rollback into it.

Push

If you’re working on your local computer, and want your commits to be visible online on GitHub as well, you can push the changes to the GitHub. After pushing you can see your code on the GitHub repository.

Pull

If you’re working on your local computer and want the most up-to-date version of your repository to work with, you can pull the content from your GitHub repository. You can either use these push and pull functions from git command line or special tools provided by IDEs.

So these are the basic terms that you need to know right now to get started. Click here to view my post on how to get started.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s