Git Interview Questions


  1. What is git and what are the most useful commands ?
  2. Why git is most popular ?
  3. Explain the difference between 'git pull' and 'git fetch' ?
  4. What command is used in git to change your working branch ?
  5. What is the difference between git and GitHub ?
  6. How do you rename a branch in Git ?
  7. Describe the purpose and functionality of the '.gitignore' file ?
  8. What things to be considered while reviewing a pull request ?
  9. What is the purpose of the 'git stash' command ?
  10. How do you resolve a merge conflict in Git ?
  11. What is the difference between Git's "merge" and "rebase" operations ?
  12. How do you remove a file from a Git repository ?
  13. How do you undo the last Git commit ?
  14. How do you view the Git commit history ?
  15. What is tagging in git ?
  16. What is rollback in git ?
  17. What is git bisect command ?
  18. What is the use of Reflog in git ?
  19. How does Git handle file conflicts when merging branches ?
  20. What are Git hooks, and how can they be used in a repository ?
  21. Explain the concept of "cherry picking" in Git and how it can be done ?



For more questions and answers visit our website at frontend interview questions

Comments

Popular posts from this blog

Git Interview Questions For Freshers

Git Interview Questions For 5 years Of Experience

Trending Now 24 Article Links