The 6 commands
- git pull — get the latest
- git status — see what changed
- git add file.ext — stage specific files
- git commit -m "msg" — save snapshot
- git push — send to GitHub
- git checkout -b feat/x — new branch
The 7 concepts
- Repository — folder + full history
- Commit — saved snapshot
- Branch — parallel line of work
- Remote — the copy on GitHub
- Clone / Fork — download / personal copy
- Pull Request — proposal to merge
- Issue — tracked discussion item
BAD
"stuff"
"fixes"
"updates"
"wip"
"final final v2"
GOOD
"feat: add freemium gate after 4 AI questions"
"fix: prevent crash when no network"
"refactor: extract ClaudeService"
Pro Tip
Use a branch + PR for every feature, even solo. The 30 seconds of "review my own diff" catches more bugs than you'd guess.
Never Commit
API keys. .env files. Passwords. SSH keys. Git history is forever — once a secret is pushed, rotate it immediately.
Evaluating a repo (before you depend)
First month playbook
- Check the LICENSE
MIT / Apache OK. GPL = viral. No license = no use.
- Last commit date
> 18 months stale = yellow flag
- Open issues tone
Stale + unanswered = red flag
- Audit transitive deps
Each dep is supply-chain risk
- Make your first repo
Any folder. Personal notes work.
- Branch + PR a feature
Even solo. Practice the flow.
- Read 3 popular repos
See how issues are written
- Make a typo fix PR
You're an open-source contributor
djEnterprises · AI consulting & iOS app studio