Total Questions : 20
Expected Time : 20 Minutes

1. How do you create a Git repository on GitHub?

2. Explain the purpose of 'git submodules' and when you might use them.

3. What is 'git remote' and how is it used in a Git repository?

4. Explain the concept of 'git fetch --prune' and its significance in Git.

5. What does 'git pull' do?

6. Explain the concept of 'git sparse-checkout init' and its use in working with sparse repositories.

7. What is the purpose of 'git rebase -i' and how is it used?

8. Which command is used to create a new branch and switch to it?

9. Explain the benefits of using 'git rebase' over 'git merge.'

10. Explain the significance of the 'git bisect' command in Git.

11. Explain the purpose of 'git tag' and how it can be useful in version control.

12. How do you rename a Git branch?

13. What is the purpose of 'git log --graph' and when might you use it?

14. What is 'git stash -p' used for, and how does it differ from a regular 'git stash'?

15. What is a 'rebase' operation in Git, and how does it differ from a 'merge'?

16. What is 'git revert -m' used for, and in what scenario might it be applicable?

17. What is 'git revert' used for, and how does it differ from 'git reset'?

18. What is 'git revert -n' used for, and how does it differ from a regular 'git revert'?

19. Explain the concept of 'git hooks' and provide an example use case.

20. What does 'git remote -v' show?