Q4
What is 'git reflog' and how does it differ from 'git log'?
💬Answer
git reflog (reference log) is a local tracking mechanism that records every update made to local branch pointers and the HEAD pointer.
Unlike git log (which only shows the commit graph of the active branch), git reflog tracks commits, resets, checkouts, rebases, and merges. It acts as an undo history log for your local repository, allowing you to recover lost commits and branches.
Related Git & GitHub Questions
View All Git & GitHubQuestions →Q1
What is Git, and how does its distributed model differ from older centralized version control systems?
Q2# Why it is Used:
Q3What is version control, and why is it considered the absolute starting point for any DevOps pipeline?
Q4Can you explain the main architectural areas of Git? How do files transition between them?

Created by
Apurv Gujjar
DevOps & Cloud Engineer
Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio