Daily Workflow in Git
From the Git cheat sheet · Quick Reference · verified Jul 2026
Daily Workflow
Common Git workflow for everyday development
bash
# Start your day
git pull origin main
# Create feature branch
git checkout -b feature/new-feature
# Make changes
git add .
git commit -m "Add new feature"
# Push to remote
git push -u origin feature/new-feature
# Create pull request (on GitHub/GitLab)
# After PR merged
git checkout main
git pull origin main
git branch -d feature/new-feature💡 Always pull before starting new work
✅ Use descriptive branch names
⚡ Commit often with clear messages
📌 Delete branches after merging