Git and GitHub For Beginners
Git and GitHub For Beginners
A comprehensive overview
Contents
Intro to Git and Github
Difference between
git and Github
Github Account
creation and git
settings
Configuring Git
Git Commands
Concept of branches
Merging of code
Pull Command
Fork Concept
Git
Version Control System is a tool
that helps to track changes in code
Git is Version control system it is:
popular
free and open source
fast and reliable
With the help of Git you can
Track the history
Collaborate
Github
Website that allows developers to
store and manage their code using
git.
https://github.com
Stores the code in the form of
folder called (Repository)
Github Account
Push Command
push - upload local repo content
to remote repo (git push origin
main)
Git Commands
Init Command
init - used to create a new git
repo
Different commands
git init
git remote add origin <-link->
git remote -v (to verify remote)
git branch (to check branch)
git branch -M main (to rename
branch)
git push origin main
Git Work Flow