🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: GitHub: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What is the difference between git fetch and git pull?
  2. Q2. What does git push -u origin main do the first time?
  3. Q3. What is a pull request?
  4. Q4. How do you contribute to a repository you don't have write access to?
  5. Q5. Why is git push --force dangerous on a shared branch?
  6. Q6. What does git clone <url do?
  7. Q7. When should you run git pull according to good practice?
  8. Q8. When pushing over HTTPS, what does GitHub accept instead of your account password?
  9. Q9. In a fork-based contribution, where do you push your commits before opening a pull request?
  10. Q10. What happens on GitHub during a pull request review?