Master Collaboration & Code Management
Every developer has full history
Local operations, instant commits
Lightweight, easy to merge
Pull requests, code reviews
git init - Initialize repository
git clone <url> - Clone repository
git add . - Stage changes
git commit -m "message" - Commit changes
git push origin main - Push to remote
Main, develop, feature, release, hotfix branches
Single main branch, short-lived feature branches
<<<<<<< HEAD
Your changes
=======
Their changes
>>>>>>> branch-name
# Steps to resolve:
1. Edit conflicted files
2. Remove conflict markers
3. git add <file>
4. git commit