Quiz of Git

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

গিট একটা হিট তামিল সিনেমা। যেটা আমি দেখিনি। আমার ফ্রেন্ডরা দেখছে।

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

গিট্টু মেরে দড়ি দিয়ে কোডকে তালগাছের সাথে বাইন্ধা রাখা

Quiz 2: <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

git -version

git --version

git -- version

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

git commit -m “final code”

git commit ---m“final code”

git “final code” -- commit

git push commit

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

git initialize

git init

git add readme.md

git start

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

Live Pages

Hosting Pages

Github Pages

Github Deploy

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

By clearing cache you can get some cash

If you want to catch some cash clear cache

Remove older data from a website

Just to make Chrome uncle happy

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

Make a local backup of our code.

Separate a small feature from main code

Creating an ATM branch for withdrawing dollar

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

git branch new-button

git checkout -b new-button-update

git checkout -d new-button-update

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

git commit push

git checkout push

git push

git pull

Quiz 10: <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

git checkout branch

git checkout.

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

git checkout -b [branch name]

git checkout switch [branch name]

git checkout [branch name]