DEV Community

Cover image for A Session on Git and GitHub.
Shruti Arora for Hack This Fall

Posted on • Updated on

A Session on Git and GitHub.

Image description
Heyo Everyone🌻! I am Shruti , Evangelist at Hack This Fall. I conducted a session on Introduction to Git and GitHub.For this session, I collaborated with my team i.e Shruti Arora (Speaker no 1) , Shivam Saini (Speaker No 2) and Vaniya Batra(Host).

Most of the folks attending the session were new to Git and GitHub so they were quite interested to learn how Git and GitHub can be essential tools to them.

There were about 15-20 active folks who connected with us.

Topics covered -
1) what is Git ? -Git is a version control system.t is a free and open-source version control system .

2) why you should use Git-It is used to efficiently manage small to extremely big projects.

3)Basic Git commands-

a)git init: The git init command creates a new Git repository.
b)git clone: The git clone command is used to create a copy of a specific repository or branch within a repository.
c)git add:It is used to tracks your file and changes in Git.
d)git commit: The git commit command takes a snapshot of the current state of the project's changes.
e)git push : This command is used to upload git commits to a remote repository like Github.
f)git checkout:checkout commands lets you navigate between the branches created by the git branch.

4) What is GitHub? -GitHub is a site that hosts Git repositories, but it also has a lot of its own features. It is a web-based graphical interface for Git, which is a command-line application.

5) why you should use GitHub? - With the help of Github only , you do Open Source Contributions and is useful for your project management.

6) Basic GitHub terms -
a)Fork: Fork lets you create a copy of another user's repository that stays on your personal GitHub account.
b)Main: When you create a new repository, it comes with a default development branch.
c)Readme: It is a text file that contains information about other files in a repository. YOu can customize this file .
d)Repository: A Repository is a place where tour work will be stored in a directory or storage space.
e)Pull request: It allows you to announce a change made by you in the branch.

We also encouraged attendees to participate in Hack This Fall 2.0. At last the attendees also shared their feedback on how fruitful the session was for them.

Top comments (0)