Session 1 - Java - Version Control System Using Git
Session 1 - Java - Version Control System Using Git
5 hours)
In this Session, we shall introduce Git to the learners as a Version Control System. This session will introduce learners to the most
basic Git commands required for version control.
● Coding Problem: git init and git remote add origin commands (10 min)
○ Also create git ignore file
○ Impact
○ Scenario
● Hands-On Experience - create central repository on Github. Inti a local repository and sync it with central repository or
something on this line (5 min)
● Coding Problem: git add, git status, git commit and git push commands (10 min)
○ Impact
○ Scenario
● Hands-On Experience - create new files/modify some existing files and add them to index, check status, commit them and
check status or something on this line (10 min)
● Coding Problem: git branch, git checkout and git merge commands (10 min)
○ Impact
○ Scenario
● Hands-On Experience - create a few new branches and play around with them. (10 min)
● Coding Problem: git clone, git pull and git fetch commands (10 min)
○ Impact
○ Scenario
● Hands-On Experience - push from one branch to master branch or some other central repository branch. Pull or fetch
from another branch. (10 min)
● Summarize with diagrams, run all commands at once and follow up questions (5 min)