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

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 12: Line 12:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;"| Slide1: '''Overview and Installation of Git'''
+
| style="border:1pt solid #000000;padding:0.097cm;"| Slide1:  
 
| style="border:1pt solid #000000;padding:0.097cm;"| Welcome to the spoken tutorial on''' Overview and Installation of Git'''.
 
| style="border:1pt solid #000000;padding:0.097cm;"| Welcome to the spoken tutorial on''' Overview and Installation of Git'''.
  
Line 20: Line 20:
 
Learning Objectives
 
Learning Objectives
  
In this tutorial, we will learn
 
  
* '''Version Control System'''
 
* '''Git'''
 
* 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 36: Line 32:
 
System requirement
 
System requirement
  
For this tutorial, You should have a
 
 
* Working Internet connection
 
* 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.
  
Line 52: Line 44:
 
Pre-requisites
 
Pre-requisites
  
You should be familiar
+
 
* 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  
Line 61: Line 52:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 5:
 
| style="border:1pt solid #000000;padding:0.097cm;"| 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
+
  
 
| 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'''.
Line 82: Line 69:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 6:
 
| style="border:1pt solid #000000;padding:0.097cm;"| 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
 
  
 
| style="border:1pt solid #000000;padding:0.097cm;"|  
 
| style="border:1pt solid #000000;padding:0.097cm;"|  
Line 102: Line 82:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 7:
 
| style="border:1pt solid #000000;padding:0.097cm;"| 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.'''
+
  
 
| 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:
Line 117: Line 93:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 8:
 
| style="border:1pt solid #000000;padding:0.097cm;"| 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.
 
  
  
Line 134: Line 105:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 9:
 
| style="border:1pt solid #000000;padding:0.097cm;"| 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'''
 
  
  
Line 152: Line 119:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 10:
 
| style="border:1pt solid #000000;padding:0.097cm;"| 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'''
 
  
 
| 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'''.
Line 309: Line 273:
 
Summary
 
Summary
  
* '''Version Control System'''
 
* '''Git''' and
 
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems
 
  
  
Line 330: Line 291:
 
Acknowledgement
 
Acknowledgement
  
* Watch the video available at [http://spoken-tutorial.org/What_is_a_Spoken_Tutorial http]
 
* It summarises the Spoken Tutorial project
 
* If you do not have good bandwidth, you can download and watch it
 
  
  
Line 343: Line 301:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 13:
 
| style="border:1pt solid #000000;padding:0.097cm;"| Slide 13:
  
Spoken Tutorial Workshops
 
  
The Spoken Tutorial Project Team
+
Acknowledgement
 
+
* Conducts workshops using spoken tutorials
+
* Give certificates to those who pass an online test
+
* For more details, please write to contact@spoken-tutorial.org
+
  
  
Line 362: Line 315:
 
Acknowledgement
 
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
+
  
  

Revision as of 15:39, 11 May 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: Welcome to the spoken tutorial on Overview and Installation of Git.
Slide 2:

Learning Objectives


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 will need a working Internet connection.


You should also have either

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

Pre-requisites


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


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:


  • 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:


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:


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:



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:


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


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


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


Pls download and watch it.

Slide 13:


Acknowledgement


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 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