The modern tool used to empower developers to collaborate
Great for disaster recovery, allows us to roll back to a particular point seamlessly
Command Cheatsheet
# Making a new Git branchgit branch <NEW_BRANCH_NAME># Delete local branchgit branch -d <branch-name># Delete remote branchgit push origin --delete <branch-name># Hard Reset# Use this caution, make sure other collaborators are not working on any commits after the <COMMIT_ID>git reset --hard <COMMIT_ID># Merge feature branch changes# On main branchgit merge <FEATURE_BRANCH>
Move local commits from branch A to branch B
Merge commits into branch B
Delete local branch A, or Git Rebase for more refine control