Total Questions : 10
Expected Time : 10 Minutes

1. What is the purpose of 'git log'?

2. Explain the purpose and potential risks of 'git gc --auto' in Git repository maintenance.

3. What is the purpose of 'git merge'?

4. Explain the concept of 'git squash' and how it is different from a regular commit.

5. What is the purpose of 'git stash' and when might you use it?

6. How do you rename a Git branch?

7. How do you discard changes in a Git repository?

8. How do you create a new branch without switching to it?

9. What is the purpose of '.gitignore'?

10. Explain the purpose and potential risks of 'git reflog expire --expire=now' in Git.