Click here to Skip to main content
16,020,080 members
Articles / All Topics

Looking at Git and GitHub

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
4 Oct 2010CPOL1 min read 9.2K  
The things that make Git different from other version control systems

Recently, I decided to take a look at Git and start checking what are the things that make it different from other version control systems.

First, Git was initially designed and developed by Linus Torvalds for Linux kernel development. It is a distributed version control system, usually used from the command line console.

Git was designed based on the experience with Linux in maintaining a large distributed development project. The focus was on speed, distribution, fidelity and no corruption of files.

In Git, you get the project doing a clone instead of checkout. This command gets a full copy of the database, getting every version of every file of the project and not the last version like you do on subversion. This allows you to execute commands like diff offline; as a result, commands run faster because they don’t have to go over the network.

According to GitHub intro to Git, the size of the projects are smaller compared to SVN, even when the git version is storing all version information of files.

One option to start experimenting with Git is using GitHub which is a social code hosting - community oriented. You can create a free account for open source projects.

To get started in GitHub, you must have a SSH public key to push your git repo.

For Windows:

  • Install Msysgit, run it C:\msysgit\msysgit\msys.bat
  • Generate ssh-keys in win/msysgit
    • Execute ssh-keygen cmd on Git Bash console
    • You need the public key located in the .ssh directory, for example, C:\Users\mmarcano\.ssh\ id_rsa.pub

Once you have setup the github account, you can create new repositories, import existing git repo or import an existing public SVN repository like googlecode.

Here are some links for additional information:

Enjoy! =)

Tags: ,
This article was originally posted at http://mariangemarcano.blogspot.com/feeds/posts/default

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Denmark Denmark
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --