Q2
# How it works:
💬Answer
- When you create a branch, Git creates a new pointer file inside
.git/refs/heads/containing the 40-character SHA-1 hash of the commit you branched from. - As you make new commits, the branch pointer moves forward automatically to point to the latest commit.
- This design makes branching and switching branches almost instantaneous, regardless of the size of the repository.
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