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

From Script | Spoken-Tutorial
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: 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.


(Show the images of the Title slides) Let me show glimpses of some features covered in this series.
  • Basic Commands of Git
  • The git checkout command
  • Inspection and Comparison of Git
  • Tagging in Git

In this series, we will also learn about

  • Branching in Git
  • Deleting and Merging branches and
  • Stashing and Cleaning
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 >> Git Bash 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