01 – create a new repository

create a new directory, open it and perform a git init to create a new git repository.

02 – checkout a repository

create a working copy of a local repository by running the command
git clone /path/to/repository
when using a remote server, your command will be
git clone username@host:/path/to/repository

03 – add & commit

You can propose changes (add it to the Index) using
git add <filename>
git add *
This is the first step in the basic git workflow. To actually commit these changes use
git commit -m "Commit message"
Now the file is committed to the HEAD, but not in your remote repository yet.

04 – pushing changes

Your changes are now in the HEAD of your local working copy. To send those changes to your remote repository, execute
git push origin master
Change master to whatever branch you want to push your changes to.

If you have not cloned an existing repository and want to connect your repository to a remote server, you need to add it with
git remote add origin <server>
Now you are able to push your changes to the selected remote server

Based on:


Cloud9 IDE is a freeware online integrated development environment. It supports more than 40 programming languages, including PHP, Ruby,Python, JavaScript with Node.js, and Go. It enables developers to get started with coding immediately with pre-setup workspaces, collaborate with their peers with collaborative coding features, and web development features like live preview and browser compatibility testing (from wikipedia),


You will get:

  1. A Virtual machine of your own.
  2. Supports: Node.js, html5, wordpress, php, django, Ruby on rails, c/c++, StrongLoop, Custom

3. Direct access to your projects at Github and BitBucket.

4. Access by your Github of BitBucket account.

5. With Free account you will get a virtual machine of:

512MB RAM     

1GB Disk Space     

Max 1 premium workspace     

∞ community workspaces     

Table of Content:

1. Start Project from Scratch

    1. Create a Repo at BitBucket:

    1. Create a directory at local drive.
    2. Init Git at selected directory: Inside the directory right click and select “Git Init”.
    3. Add remote Repo to Local Directory: Inside the directory right click and select “Git GUI”.
    4. At Git select from Menu: Remote->Add.
    5. At the dialog, at name enter there a name for root branch and at the location enter there the address of remote repo.
    6. Move files into directory.
    7. Right click the directory and select “Git GUI”.
    8. At Git Gui, in order to commit, click on Stage Changed, then on Sign off, then on commit, then on Push:

2. Download a Repository and start working with it

    1. Right Click and select “Git Gui”.
    2. At Git select “Clone Existing Repository”

3. At Source location paste there the address of the Repo.

4. At Target Directory write there the target directory and click on clone.

5. Git will ask to enter password for Repository. You will have to enter the password 3 times.


External inks:


Very good link to GIT video – how to use



Git Version Control - GIT - SVN
Version Control – GIT – SVN

SubVersion Version Control - GIT - SVN
Version Control – GIT – SVN


Why Git is better than SVN from stack-overflow



Git Tool

TortoiseGit – The coolest Interface to Git Version Control


Google Trends Git VS SVN

Pros, Cons

Git, SVN , Mercurial Pros ,Cons

Getting started



Cloud Storage


Free, unlimited private repositories


Download page



From Wikipedia:

Git (/ɡɪt/[4]) is a widely used version control system for software development.[5] It is a distributed revision control system with an emphasis on speed,[6] data integrity,[7] and support for distributed, non-linear workflows.[8] Git was initially designed and developed by Linus Torvalds for Linux kernel development in 2005.

As with most other distributed version control systems, and unlike most client–server systems, every Git working directory is a full-fledged repository with complete history and full version-tracking capabilities, independent of network access or a central server.[9] Like the Linux kernel, Git is free software distributed under the terms of the GNU General Public License version 2.

Apache Subversion (often abbreviated SVN, after the command name svn) is a software versioning and revision control system distributed asfree software under the Apache License.[1] Software developers use Subversion to maintain current and historical versions of files such assource code, web pages, and documentation. Its goal is to be a mostly compatible successor to the widely used Concurrent Versions System(CVS).

The free software community has used Subversion widely: for example in projects such as Apache Software Foundation, Free Pascal, FreeBSD,GCC, Mono and SourceForge. Google Developers also provides Subversion hosting for their free software projects. CodePlex offers access to Subversion as well as to other types of clients.

The corporate world has also started to adopt Subversion. A 2007 report by Forrester Research recognized Subversion as the sole leader in the Standalone Software Configuration Management (SCM) category and as a strong performer in the Software Configuration and Change Management (SCCM) category.[2]

Subversion was created by CollabNet Inc. in 2000, and is now a top-level Apache project being built and used by a global community of contributors.