Click here to Skip to main content
13,559,184 members
Click here to Skip to main content
Add your own
alternative version

Tagged as


Posted 4 Oct 2010
Licenced CPOL

Looking at Git and GitHub

, 4 Oct 2010
Rate this:
Please Sign up or sign in to vote.
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\

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Denmark Denmark
No Biography provided

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01-2016 | 2.8.180515.1 | Last Updated 4 Oct 2010
Article Copyright 2010 by mariangemarcano
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid