Module 3 Practice

Video 01: 3-1 Github Module Introduction.

SCM==Source Code Management
git —(dash dash)version then enter

>

Video 02**: 3-2 Install git, create GitHub repository

Repository==Repo; cd==change directory

Video 03:3-3 Introduction to Git init, git add, git commit

Git init= Initialized

Video 04:3-4 Set origin, Git push, git pull, and repo overview

Configaration==config

Video 05:3-5 Send small incremental changes to github

git add .== git commit -m”Write comment”== Git push=Enter

Video 06: 3-6 Common github related issues faced by new developer**

search google: git repo remove origin

Video 07 :3-7 [advanced] Create git branch, merge branches

git reset —hard use for reset
touch file name—use this command for create file, for folder create- mkdir folder name
Search google: git branch command

Video 08: 3-8 [advanced ] git pull, toggle branch, merge conflict

To remove 2nd git hub ac==creadentials manager=windows creadientials
Side branch is called Feature branch

QUIZ

Question 01:What is the purpose of git?
Ans: কোড যাতে হারায় না যায় এবং একাধিকজন একই কোডে কাজ করা সহজ করতে.

Question 02: What is the right command to check the git version? Ans: git --version

Question 03: What is the command to commit code with the message “final code”? Ans: git commit -m”Final code”

Question 04: Which command will you use to start (initialise) a new git repository? Ans: git init

Question 05: Which command will you use to create a new branch named new-button-update? Ans: git checkout -b new-button-update

Question 06: Which Command is used to check the list of branches?. (its ok, if you don't remember, feel free to search online) Ans: git branch

Question 07: What command do you run to view the commit history of your repository? [ask google] Ans: git log

Question 08: What is the purpose of git branching? (though the video is marked as advanced, you will need to watch the video) Ans: Separate a small feature from main code.