🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: GitHub: all 10 questions

Quiz: GitHub · Question 4 of 10

How do you contribute to a repository you don't have write access to?

How do you contribute to a repository you don't have write access to?

  1. A.Push directly to its main branch
  2. B.Fork it, push to your fork, then open a pull request
  3. C.Email the files
  4. D.Use git pull --force
Answer & explanation

Correct answer: Fork it, push to your fork, then open a pull request

Forks let anyone propose changes safely.

Can you get the rest right without peeking?

Take the timed Quiz: GitHub quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →