Git & Github Session
🔸VCS
🔸Git
🔸Git Commands
🔸Git workflow
🔸Github
🔸Make a Pull Request
What is Git
And why is it so popular ?
Git is a version control system used in software development.
What is this Version Control System ????
They are a category of software tools that helps record changes to files by keeping a track of modifications done to the code.
version control
git commit
git add
git push
Branch is a ‘branch’ from the main code trunk to try a new feature
Not just trying new features, branches can be used to see these new features’ compatibility with the main trunk of the code
When a git repo is initialized, it creates the default branch ‘master’
If compatible, branches can be merged into the master branch
GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
Think of this like a project folder where code is stored!
README.md
LICENSE
CONTRIBUTING.md
CODE_OF_CONDUCT.md
CHANGELOG.md
.gitignore
a way to share a problem about someone else's code, without necessarily submitting your own solution
A way to ask to make changes to someone else's code by submitting your own changes for their review