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