Git Skill
Use git for version control operations.
Common Commands
Status & History
git status
git log --oneline -20
git diff
git diff --staged
Branching
git branch -a
git checkout -b feature/new-branch
git switch main
git merge feature/new-branch
Committing
git add <files>
git commit -m "description of changes"
git push origin <branch>
Stashing
git stash
git stash pop
git stash list