Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 607 Bytes

readme.md

File metadata and controls

17 lines (11 loc) · 607 Bytes

Learning Git Basics

0) Github Lingo

1) Repositories

Repositories are sites which are used either as a folder or as a project area. Some differences that differentiate a repository from a folder are features like branches, cloning, pull requests, etc which is very helpful when collaborating with a lot of people as it enables multiple clones/forks that can continue parallel to each other or merge depending on the use of the commit.

2) Git Commands

For initialising

git init

For cloning a repo

git clone https://www.github.com/username/repo-name

For adding a file

git add