GitHub MCQ Test: GitHub MCQs - Practice Questions
1. What is a 'detached HEAD' state in Git?
2. Which command is used to push changes to a remote repository?
3. How can you check the differences between your local branch and a remote branch?
4. How do you initialize a new Git repository?
5. Explain the difference between 'rebase' and 'merge' in Git.
6. Explain the purpose of 'git stash.'
7. What is 'git worktree' used for?
8. How do you switch to a different branch in Git?
9. Which GitHub feature is used for tracking changes and discussions in a codebase?
10. Explain the concept of 'git submodules.'
11. What is the purpose of 'git cherry'?
12. What is 'git reflog' used for?
13. What is a 'pull request' used for?
14. What does the 'git cherry-pick' command do?
15. What does a 'GitHub Actions' workflow do?
16. What is the primary purpose of GitHub Pages?
17. Which command is used to clone a repository in Git?
18. What is the default branch name in a new Git repository?
19. What is the purpose of a 'merge' in Git?
20. What is 'git bisect' used for in Git?