Difference between revisions of "Git/C2/Overview-and-Installation-of-git/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "'''Title of script:''' '''Overview and Installation of Git''' '''Author:''' Priya K '''Keywords: Version control system, Git''',''' Snapshot''',''' Installation''', '''Clien...")
 
Line 25: Line 25:
 
* '''Git'''  
 
* '''Git'''  
 
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems
 
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems
 
 
 
| style="border:1pt solid #000000;padding:0.097cm;"| In this tutorial, we will learn about
 
| style="border:1pt solid #000000;padding:0.097cm;"| In this tutorial, we will learn about
  
Line 32: Line 30:
 
* '''Git''' and
 
* '''Git''' and
 
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems.
 
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems.
 
 
  
 
|-
 
|-
Line 44: Line 40:
 
* Working Internet connection
 
* Working Internet connection
 
* Ubuntu or Windows operating system
 
* Ubuntu or Windows operating system
 
 
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| For this tutorial, you will need a working '''Internet '''connection.
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| For this tutorial, you will need a working '''Internet '''connection.
  
  
You should also have either''' '''
+
You should also have either
 
+
 
* '''Ubuntu Linux''' or''' '''
 
* '''Ubuntu Linux''' or''' '''
 
* '''Windows''' Operating System.
 
* '''Windows''' Operating System.
 
 
  
 
|-
 
|-
Line 62: Line 53:
  
 
You should be familiar
 
You should be familiar
 
 
* with either of the mentioned operating systems
 
* with either of the mentioned operating systems
 
  
 
| style="border:1pt solid #000000;padding:0.097cm;"| To follow this tutorial you should  
 
| style="border:1pt solid #000000;padding:0.097cm;"| To follow this tutorial you should  
 
 
 
* be familiar with either of the mentioned operating systems
 
* be familiar with either of the mentioned operating systems
 
 
  
 
|-
 
|-
Line 77: Line 62:
  
 
Version Control System (VCS)
 
Version Control System (VCS)
 
 
* Backup system that manages changes to documents, computer programs, etc.
 
* Backup system that manages changes to documents, computer programs, etc.
 
* Provides a historical record
 
* Provides a historical record
 
* VCS is also known as '''revision control, source control '''and''' SCM'''
 
* VCS is also known as '''revision control, source control '''and''' SCM'''
 
* Examples: RCS, Subversion, Bazaar
 
* Examples: RCS, Subversion, Bazaar
 
  
 
| style="border:1pt solid #000000;padding:0.097cm;"| First let us learn what is '''VCS '''i.e '''Version Control System'''.
 
| style="border:1pt solid #000000;padding:0.097cm;"| First let us learn what is '''VCS '''i.e '''Version Control System'''.
 
  
 
* '''Version Control System''' is like a backup system.
 
* '''Version Control System''' is like a backup system.
Line 92: Line 74:
 
* '''VCS''' is also known as '''revision control''', '''source control''' and '''Source Code Management (SCM''' ).
 
* '''VCS''' is also known as '''revision control''', '''source control''' and '''Source Code Management (SCM''' ).
 
* Some examples of '''VCS''' are '''RCS''', '''Subversion''' and '''Bazaar.'''
 
* Some examples of '''VCS''' are '''RCS''', '''Subversion''' and '''Bazaar.'''
 
 
  
 
|-
 
|-
Line 103: Line 83:
  
 
Introduction to Git
 
Introduction to Git
 
  
 
* A distributed version control software
 
* A distributed version control software
Line 112: Line 91:
 
* Helps in tracking the project progress history
 
* Helps in tracking the project progress history
  
 
+
| style="border:1pt solid #000000;padding:0.097cm;"|  
| style="border:1pt solid #000000;padding:0.097cm;"| * Git is a distributed version control software.
+
* Git is a distributed version control software.
 
* It is a free and open source software.
 
* It is a free and open source software.
 
* It keeps track of changes made to a file or set of files.
 
* It keeps track of changes made to a file or set of files.
Line 119: Line 98:
 
* It manages and stores versions of projects.
 
* It manages and stores versions of projects.
 
* It helps in tracking the project progress history.
 
* It helps in tracking the project progress history.
 
 
  
 
|-
 
|-
Line 126: Line 103:
  
 
Salient features of '''Git''' :
 
Salient features of '''Git''' :
 
 
* Go back and recover previous versions of our work
 
* Go back and recover previous versions of our work
 
* See''' '''the complete history of changes
 
* See''' '''the complete history of changes
 
* Conflicts can be easily resolved using suggestions
 
* Conflicts can be easily resolved using suggestions
 
* Any loss of data can be restored from any of the''' client repositories.'''
 
* Any loss of data can be restored from any of the''' client repositories.'''
 
  
 
| style="border:1pt solid #000000;padding:0.097cm;"| The salient features of '''Git''' are as follows:
 
| style="border:1pt solid #000000;padding:0.097cm;"| The salient features of '''Git''' are as follows:
 
 
 
* We can go back and recover previous versions of our work.
 
* We can go back and recover previous versions of our work.
 
* We can see the complete history of all the changes.
 
* We can see the complete history of all the changes.
 
* Conflicts can be easily resolved using the''' '''suggestions given by '''Git'''.
 
* Conflicts can be easily resolved using the''' '''suggestions given by '''Git'''.
 
* If there is loss of data, it can be restored from any of the''' client repositories.'''
 
* If there is loss of data, it can be restored from any of the''' client repositories.'''
 
 
  
 
|-
 
|-
Line 149: Line 120:
  
 
* Programmers, Web developers, Project managers, writers and many others.
 
* Programmers, Web developers, Project managers, writers and many others.
 
 
* Anyone working with text files, sheets, design files, drawings to track versions.
 
* Anyone working with text files, sheets, design files, drawings to track versions.
 
* People who work collaboratively on an activity or project.
 
* People who work collaboratively on an activity or project.
Line 158: Line 128:
  
 
* Programmers, Web developers, Project managers, writers and many others.
 
* Programmers, Web developers, Project managers, writers and many others.
 
 
* Anyone working with text files, sheets, design files, drawings, etc., to track versions.
 
* Anyone working with text files, sheets, design files, drawings, etc., to track versions.
 
* People who work collaboratively on an activity or project.
 
* People who work collaboratively on an activity or project.
 
 
  
 
|-
 
|-
Line 174: Line 141:
  
  
| style="border:1pt solid #000000;padding:0.097cm;"| Now lets see how Git works:
+
| style="border:1pt solid #000000;padding:0.097cm;"| Now lets see how Git works.
  
 
* Git actually stores a '''snapshot''' of entire project.
 
* Git actually stores a '''snapshot''' of entire project.
Line 181: Line 148:
 
* It links them to the previous version.
 
* It links them to the previous version.
 
* In the event of failure, the data is restored from the''' snapshot'''.
 
* In the event of failure, the data is restored from the''' snapshot'''.
 
 
  
 
|-
 
|-
Line 191: Line 156:
 
* '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center'''
 
* '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center'''
 
* For more details on''' Ubuntu Software Center,''' refer to the''' Linux''' tutorials on''' http://spoken-tutorial.org'''
 
* For more details on''' Ubuntu Software Center,''' refer to the''' Linux''' tutorials on''' http://spoken-tutorial.org'''
 
  
 
| style="border:1pt solid #000000;padding:0.097cm;"| '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center'''.
 
| style="border:1pt solid #000000;padding:0.097cm;"| '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center'''.

Revision as of 16:41, 30 April 2015

Title of script: Overview and Installation of Git

Author: Priya K

Keywords: Version control system, Git, Snapshot, Installation, Client repositories, Video tutorial


Visual cue
Narration
Slide1: Overview and Installation of Git Welcome to the spoken tutorial on Overview and Installation of Git.
Slide 2:

Learning Objectives

In this tutorial, we will learn

  • Version Control System
  • Git
  • Installation of Git on Ubuntu Linux and Windows operating systems
In this tutorial, we will learn about
  • Version Control System
  • Git and
  • Installation of Git on Ubuntu Linux and Windows operating systems.
Slide 3:

System requirement

For this tutorial, You should have a

  • Working Internet connection
  • Ubuntu or Windows operating system
For this tutorial, you will need a working Internet connection.


You should also have either

  • Ubuntu Linux or
  • Windows Operating System.
Slide 4:

Pre-requisites

You should be familiar

  • with either of the mentioned operating systems
To follow this tutorial you should
  • be familiar with either of the mentioned operating systems
Slide 5:

Version Control System (VCS)

  • Backup system that manages changes to documents, computer programs, etc.
  • Provides a historical record
  • VCS is also known as revision control, source control and SCM
  • Examples: RCS, Subversion, Bazaar
First let us learn what is VCS i.e Version Control System.
  • Version Control System is like a backup system.
  • It manages the changes in documents, computer programs and web sites.
  • It provides a historical record of what you have done over time.
  • VCS is also known as revision control, source control and Source Code Management (SCM ).
  • Some examples of VCS are RCS, Subversion and Bazaar.
Next let us start with Git.
Slide 6:

Introduction to Git

  • A distributed version control software
  • Free and open source software
  • Keeps track of changes made to a file or set of files
  • Allows developers to work collaboratively
  • Manages and stores versions of projects
  • Helps in tracking the project progress history
  • Git is a distributed version control software.
  • It is a free and open source software.
  • It keeps track of changes made to a file or set of files.
  • It allows developers to work collaboratively.
  • It manages and stores versions of projects.
  • It helps in tracking the project progress history.
Slide 7:

Salient features of Git :

  • Go back and recover previous versions of our work
  • See the complete history of changes
  • Conflicts can be easily resolved using suggestions
  • Any loss of data can be restored from any of the client repositories.
The salient features of Git are as follows:
  • We can go back and recover previous versions of our work.
  • We can see the complete history of all the changes.
  • Conflicts can be easily resolved using the suggestions given by Git.
  • If there is loss of data, it can be restored from any of the client repositories.
Slide 8:

Who can use Git?

  • Programmers, Web developers, Project managers, writers and many others.
  • Anyone working with text files, sheets, design files, drawings to track versions.
  • People who work collaboratively on an activity or project.


Git can be used by


  • Programmers, Web developers, Project managers, writers and many others.
  • Anyone working with text files, sheets, design files, drawings, etc., to track versions.
  • People who work collaboratively on an activity or project.
Slide 9:

How Git works?

  • Git stores a snapshot of entire project
  • If some files have no changes, Git does not store them again
  • In the event of failure the data is restored from the snapshot


Now lets see how Git works.
  • Git actually stores a snapshot of entire project.
  • Snapshot is similar to taking a picture of all the files at that moment.
  • If some files have no changes, Git doesn’t store them again.
  • It links them to the previous version.
  • In the event of failure, the data is restored from the snapshot.
Slide 10:

Installation of Git

  • Git can be installed on Ubuntu Linux using Ubuntu Software Center
  • For more details on Ubuntu Software Center, refer to the Linux tutorials on http://spoken-tutorial.org
Git can be installed on Ubuntu Linux using Ubuntu Software Center.


For more details on Ubuntu Software Center, refer to the Linux tutorials on this website.

Go to terminal and type git --version I have already completed the installation of Git on my system.


Now let us verify this.


Go to the terminal and type

git space hyphen hyphen version and press Enter.

In the terminal, highlight the version number. We can see the version number of Git displayed.


This means that Git is installed successfully.

<<PAUSE>>

Installation for Windows OS Next, let us learn to install Git on Windows OS.
Go to http://git-scm.com/ Open your web browser and go to www.git-scm.com


Click on the Downloads link on the left side.

Click on Windows icon Click on Windows icon to download Git for Windows.
Click on Save File The Save As dialog box appears.

Click on Save File button.

Open Downloads folder


The installer file will be downloaded in the default Downloads folder.
Double-click on the exe file Double-click on the exe file to install Git.
Click on Run >> Click on Yes In the dialog box that appears, click on Run and then on Yes.
Click on Next >> Next Now, click on Next.


In the General Public License page, click on Next.

Click on Next


By default, Git is installed in Programs files.


Click on Next.

Check the Additional icons option


Click on Next

We can select the components to install.


Click on the Additional icons checkbox.


Then click on Next. Again click on Next.

Select Use Git Bash only >> Next Here you can select the option to run the Git commands.


I will select Use Git Bash only and click on Next.

Click on Next >> Next I keep this option as default and click on Next.


Again click on Next.

Point to the dialog box Git is installing. This may take few minutes depending on your internet speed.
Click on Finish Click on Finish button to complete the installation.


Now the Git Release Notes opens up automatically.

Let me close it.

Point to the short cut icon Git Bash >> Don’t click just point You will see a short- cut icon Git Bash created on the Desktop.


Double-click on it to open.

Click on Start menu >> All programs >> Inkscape Alternately, you can click on Start menu, All programs, Git and then click on Git Bash.


Now Git Bash will open.

Highlight the Git version number It shows the installed version number of Git.


So, we know that Git is installed successfully.


<<PAUSE>>

With this, we come to the end of this tutorial.
Slide 11:

Summary

  • Version Control System
  • Git and
  • Installation of Git on Ubuntu Linux and Windows operating systems


Let us summarize.


In this tutorial we have learnt about

  • Version Control System
  • Git and
  • Installation of Git on Ubuntu Linux and Windows operating systems


Slide 12:

Acknowledgement

  • Watch the video available at http
  • It summarises the Spoken Tutorial project
  • If you do not have good bandwidth, you can download and watch it


The video at the following link summarises the Spoken Tutorial project.


Pls download and watch it.

Slide 13:

Spoken Tutorial Workshops

The Spoken Tutorial Project Team

  • Conducts workshops using spoken tutorials
  • Give certificates to those who pass an online test
  • For more details, please write to contact@spoken-tutorial.org


The Spoken Tutorial Project Team conducts workshops and gives certificates to those who pass online tests.


For more details, please write to us.

Slide 14:

Acknowledgement

  • Spoken Tutorial Project is a part of the Talk to a Teacher project
  • It is supported by the National Mission on Education through ICT, MHRT, Government of India
  • More information on this Mission is available at: http://spoken-tutorial.org/NMEICT-Intro


Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.


More information on this Mission is available at the following link.

This is Priya from IIT Bombay. Thanks for joining.

Contributors and Content Editors

Nancyvarkey, Priyacst