1. Brush Up on Github
DAY II Sebin Benjamin
2. Intro - What is Git ?
Git is an
● open source - source code freely available, study code, make change, and
distribute the software, mostly developed collaboratively, not closed.
● version control system - encourages freedom to experiment, rewinds time, avoids
lots of confusion. Eg: MS - Word save.
● which is distributed - many people can work on a same project remotely.
Git != Github - Git is the software (created by Linus Torvalds), github is the website for
hosting git repositories (repo groups files related to a particular project).
3. GitHub is a web-based Git repository hosting service.
Repository, or “repo” for short, is a storage space where you can access your
project, its files, and all the versions of its files that Git saves.
Hosting, provide space on a server owned or leased for use by clients.
So Github allows developers to easily collaborate, as they can download a new
version of the software, make changes, and upload the newest revision. Every
developer can see these new changes, download them, and contribute.
Also people who have nothing to do with the development of a project can still
download the files and use them. Eg : VLC Media Player https://github.com/videolan/vlc
Hmm.. then what is Github
10. Repository : your project & its file etc
Commit : taking a “snapshot” of your repository now, so that you can evaluate or
restore your project…..basically save.
Some new terms
11. Git Workflow
git clone https://github.com/sebinbenjamin/IEDC-Coding-Club.git
git config --list //check slide if u have not set your email,name
git add hi.txt // OR git add -A . for all files
git commit -m “Commit message. What you did, changed,added etc