git&github.pptx for all computer science

WARRIORFF1 8 views 21 slides Oct 08, 2024
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

git hub explanation


Slide Content

Workshop on git and GitHub fundamentals

What is Git ? Git is an open-source distributed version control system created by Linus Torvalds in 2005. It allows multiple developers to work on a project simultaneously, without interfering with each other’s changes. Git tracks and records changes in files, making it easier to collaborate, backtrack, and manage code efficiently.

GitHub  is a web-based platform that uses Git, a version control system, to help developers manage and track changes in their code. It allows multiple people to collaborate on a project, track revisions, and contribute to code from anywhere in the world. GitHub offers both free and paid plans, catering to individuals and large organizations alike. What is GitHub ?

What Is Version Control ? A system called  version control , sometimes referred to as source control or revision control, keeps track of changes made to a file or group of files over time so that you may retrieve particular versions at a later time.

Difference Between Git and GitHub S.No . Git GitHub 1. Git is a software. GitHub is a service. 2. Git is a command-line tool GitHub is a graphical user interface 3. Git is installed locally on the system GitHub is hosted on the web 4. Git is maintained by Linux. GitHub is maintained by Microsoft. 5. Git is focused on version control and code sharing. GitHub is focused on centralized source code hosting. 6. Git is a version control system to manage source code history.    GitHub is a hosting service for Git repositories. 7. Git is open-source licensed. GitHub includes a free-tier and pay-for-use tier.

How to Install GIT ?

HOW TO MAKE AN ACCOUNT ON GITHUB

Basic Commands of Git git config Git init Git add Git commit Git status Git log Git remote Git push Git pull Git branch

Git config

Git INit

Git add

Git commit

Git status

Git log

Git remote

Git push

Pushed repository

Git pull

Git branch

conclusion In conclusion why should we use git? So let me give you some advantages. first, git and GitHub track the history of your code. for example you are working on a project and after a while you create a big mess of your project. Then if you correct your be code manually it will be risky because in the process of making the code the way it was before, you might end up deleting So here important code/repository.so here git and GitHub comes. It tracks your changes in code. So even if you do Some mistake you can go to the previous code and start from there. Second, Collaboration. Now, we are in college, then we are working on solo projects. But in the company, their will be so many developers. who are working on a same project. So in the case it is very important to track that, in which features of the code which developer has done some changes. And its important to track that developers are not overwriting on the same code. These type of many problem arises at that times. So git helps to resolve such kind of problems.
Tags