Quizzes for Git

Total quizzes : 11

Quiz : 1

What is the purpose of git?

1.

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

2.

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

3.

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

Quiz : 2

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>

1.

git--version

2.

git -version

3.

git --version

4.

git -- version

Quiz : 3

What is the command to commit code with the message “final code”:

1.

git commit -m “final code”

2.

git commit ---m“final code”

3.

git “final code” -- commit

4.

git push commit

Quiz : 4

Which command will you use to start (initialize) a new git repository?

1.

git initialize

2.

git init

3.

git add readme.md

4.

git start

Quiz : 5

Which one is related to hosting a page in github?

1.

Live Pages

2.

Hosting Pages

3.

Github Pages

4.

Github Deploy

Quiz : 6

Why will you consider clearing my browser cache?

1.

By clearing cache you can get some cash

2.

If you want to catch some cash clear cache

3.

Remove older data from a website

4.

Just to make Chrome uncle happy

Quiz : 7

What is the purpose of git branching? (though the video is marked as advanced, you will need to watch the video)

1.

Make a local backup of our code.

2.

Separate a small feature from main code

3.

Creating an ATM branch for withdrawing dollar

Quiz : 8

Which command will you use to create a new branch from the existing branch named "new-button-update"

1.

git branch new-button

2.

git checkout -b new-button-update

3.

git checkout -d new-button-update

Quiz : 9

Which command will you use to send code to github?

1.

git commit push

2.

git checkout push

3.

git push

4.

git pull

Quiz : 10

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

1.

git branch

2.

git checkout branch

3.

git checkout.

Quiz : 11

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

1.

git checkout -b [branch name]

2.

git checkout switch [branch name]

3.

git checkout [branch name]