← 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?
- A.Push directly to its main branch
- B.Fork it, push to your fork, then open a pull request
- C.Email the files
- 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 →