Welcome to Quiz Exams.

Quiz of Git

Total Questions: 11

Question No : 1

What is the purpose of git?

Ans:

  • গিট একটা হিট তামিল সিনেমা। যেটা আমি দেখিনি। আমার ফ্রেন্ডরা দেখছে।
  • কোড যাতে হারায় না যায় এবং একাধিকজন একই কোডে কাজ করা সহজ করতে
  • গিট্টু মেরে দড়ি দিয়ে কোডকে তালগাছের সাথে বাইন্ধা রাখা
  • Question No : 2

    What is the right command to check the git version?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.

    Ans:

  • git--version
  • git -version
  • git --version
  • git -- version
  • Question No : 3

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

    Ans:

  • git commit -m “final code”
  • git commit ---m“final code”
  • git “final code” -- commit
  • git push commit
  • Question No : 4

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

    Ans:

  • git initialize
  • git init
  • git add readme.md
  • git start
  • Question No : 5

    Which one is related to hosting a page in github?

    Ans:

  • Live Pages
  • Hosting Pages
  • Github Pages
  • Github Deploy
  • Question No : 6

    Why will you consider clearing my browser cache?

    Ans:

  • 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
  • Question No : 7

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

    Ans:

  • Make a local backup of our code.
  • Separate a small feature from main code
  • Creating an ATM branch for withdrawing dollar
  • Question No : 8

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

    Ans:

  • git branch new-button
  • git checkout -b new-button-update
  • git checkout -d new-button-update
  • Question No : 9

    Which command will you use to send code to github?

    Ans:

  • git commit push
  • git checkout push
  • git push
  • git pull
  • Question No : 10

    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
  • git checkout branch
  • git checkout.
  • Question No : 11

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

    Ans:

  • git checkout -b [branch name]
  • git checkout switch [branch name]
  • git checkout [branch name]
  • Developed and Operated by Office of the Nation Implementtation Committee . Powered by Ict Division & Bangabandhu Memorial Trust, Bangladesh .