Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
6 views

Session 1 - Java - Version Control System Using Git

Uploaded by

electroicezard27
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Session 1 - Java - Version Control System Using Git

Uploaded by

electroicezard27
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Session 1: Version Control System - Git (2.

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.

● Introduction and Learning Objectives (2 min)

● Concept - Introduction to VCS and Git (10 min)


○ Need for VCS
○ Alternatives to VCS and issue with them
○ What is VCS and how it works
○ What is Git
○ Other benefits of Git
○ Git vs. GitHub
○ Follow-up Questions (Poll questions)

● Hands-On Experience - Environment Setup (10 min)


○ Creating Github account
○ Create central repository and explain different components
○ Setting up Git on local system
○ git config command
○ Follow-up questions (Poll questions)

● Concept - Starting with Git (5 min)


○ Need of git init command
○ Need of git remote add origin command
○ Follow-up Questions (Poll questions)

● 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)

● Concept - Making changes in local repository (5 min)


○ Need of git status command (Explain using Working tree Vs Staging Area Vs Committed Area)
○ Need of git add command
○ Need of git commit command
○ Need of git push command
○ Follow-up Questions (Poll questions)

● 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)

● Concept - Branching in Git (10 min)


○ Need of git branch command (add, check)
○ Need to git checkout command (branch, commit ID)
○ Need to git merge command (without merge conflict, with merge conflict + resolution)
○ Follow-up Questions (Poll questions)

● 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)

● Concept - Syncing with Central Repository in Git (5 min)


○ Need of git clone command
○ Need to git pull command
○ Need to git fetch command (Also explain pull vs fetch)
○ Follow-up Questions (Poll questions)

● 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)

● Doubt Resolution Window (15 min)

● Conceptual Questions (10 min)


○ TechM Specific
○ Other questions (if time permits)

You might also like