Git/C2/Overview-and-Installation-of-git/English

From Script | Spoken-Tutorial
Revision as of 15:33, 22 April 2015 by Priyacst (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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