Git Quiz

Quiz :<p>What is the purpose of git?</p>

কোড যাতে হারায় না যায় এবং একাধিকজন একই কোডে কাজ করা সহজ করতে

Quiz :<p>What is the right command to check the git version?</p><p><span style="background-color: transparent; color: rgb(0, 0, 0);">Hint: This is the command that you will need to check whether git is installed properly or not. Your answer will have the word git and also will have the word version.</span></p>

git --version

Quiz :<p>What is the command to commit code with the message “final code”:</p>

git commit -m “final code”

Quiz :<p>Which command will you use to start (initialize) a new git repository?</p>

git init

Quiz :<p>Which one is related to hosting a page in github?</p>

Github Pages

Quiz :<p>Why will you consider clearing my browser cache?</p>

Remove older data from a website

Quiz :<p>What is the purpose of git branching? (though the video is marked as advanced, you will need to watch the video)</p>

Separate a small feature from main code

Quiz :<p>Which command will you use to create a new branch from the existing branch named "new-button-update"</p>

git checkout -b new-button-update

Quiz :<p>Which command will you use to send code to github?</p>

git push

Quiz :<p>Which Command is used to check the list of branches?. (its ok, if you don't remember, feel free to search online)</p>

git branch

Quiz :<p>Which command will you use to change a branch?</p><p>(if needed google it)</p>

git checkout [branch name]