By Jeremy Geiger
Founder of ProductBuilt, solo app builder, former VP of Product, full-stack curious
When you start building solo â especially if youâre coming from a technical product management background â you quickly realize just how much Git matters.
Not in a theoretical way. In a this-will-save-your-butt kind of way.
Git isnât just a developerâs tool. Itâs a solo builderâs journal, parachute, safety net, and versioned memory. But it only works if you use it well. If youâre treating it like a backup system or only pushing when things âwork,â youâre missing most of the leverage it offers.
In this post, Iâll show you how to use Git to your advantage as a solo builder, and why deleting your branches after merging is a power move, not a mistake.
đ§ą Git for Solo Builders: Think Modular, Commit Often
Solo building is its own beast. You wear the hat of architect, engineer, designer, QA, and PM â sometimes in a single afternoon. Your Git history should reflect that journey.
Hereâs a quick mindset shift:
| Old Mindset | New Git-Friendly Mindset |
|---|---|
| âIâll push when it worksâ | âEvery meaningful thought gets a commitâ |
| âBranches are for teamsâ | âBranches are for ideas and experimentsâ |
| âI donât need version control locallyâ | âGit is my undo button, my journal, and my test labâ |
â Pro Tips:
- Commit Frequently, but Cohesively: A commit should represent one logical unit of change. That way, if you need to undo it, youâre not untangling unrelated work.
- Write Descriptive Messages: Skip the âfix stuffâ messages. Your future self will thank you. Try:
git commit -m "⨠Add tray icon toggle for recording state" - Use Branches for Experiments and Features: Keep branches short-lived and focused. Use naming conventions like
feat/clipboard,bug/fix-mic.
đł What to Do With Branches After You Merge?
Delete your merged branches. You wonât regret it.
As a solo builder, it might feel scary. Like deleting old work. But Git doesnât lose anything unless you make it.
đĽ Why You Should Delete Merged Branches:
- Keeps your workspace clean
- Avoids confusion over active work
- Preserves history via merge commits
# Delete locally
git branch -d feat/audio-recorder
# Delete remotely
git push origin --delete feat/audio-recorder
â Tip: Only delete after merge. You can always restore from history or tags if needed.
đ°ď¸ Need to Roll Back? You Donât Need the Branch.
đˇ Use Tags
Tags are lightweight bookmarks.
git tag -a v1.0 -m "Public beta launch"
git push origin --tags
git checkout v1.0
đ Use Commit Hashes
Every commit has a hash ID.
git checkout 84ae32c
đŹ Use Reflog (Local Only)
Track where HEAD has been:
git reflog
Note: Reflog only works on your local machine â not GitHub or other remotes.
đŚ Merging Strategies: Squash vs. Preserve
Squash merges can clean up noisy history but lose individual commit context:
git merge --squash feature-branch
Use squash when:
- You were experimenting
- Your branch commits are messy or exploratory
Prefer regular merges (--no-ff) when:
- Commits are meaningful and well-written
- You want history for future debugging or context
đ§ Your Git Playbook as a Solo Builder
đ ď¸ Daily Workflow
# 1. Start a branch
git checkout -b feat/transcript-clipboard
# 2. Make focused commits
git commit -m "â
Add clipboard copy to transcript output"
# 3. Push your work
git push origin feat/transcript-clipboard
# 4. Merge it (squash or standard)
git checkout main
git merge --squash feat/transcript-clipboard
# 5. Delete the branch
git branch -d feat/transcript-clipboard
git push origin --delete feat/transcript-clipboard
# 6. Tag a milestone
git tag -a v1.0-beta -m "Beta release with full clipboard support"
git push origin --tags
đ§ Bonus Git Moves That Will Save You Someday
-
Undo last commit (keep changes):
git reset --soft HEAD~1 -
Undo last commit (discard changes):
git reset --hard HEAD~1 -
Edit last commit message:
git commit --amend -m "New message" -
View commit graph:
git log --oneline --graph --all -
Create a patch from a commit:
git format-patch -1 <commit-hash>
đ§Š Git Concepts That Trip Up Builders
.gitignore: Use it early to avoid committing secrets or dependencies.- Staging Area: Understand that
git addlets you stage parts of a change. - Reset vs Revert:
resetrewinds your local history.revertsafely undoes changes in public/shared repos.
đ Final Thoughts
Git isnât about rules. Itâs about leverage.
And as a solo builder, every tool that helps you move faster without breaking things is worth mastering.
So commit often. Branch boldly. Merge mindfully. Delete mercilessly.
Your future self â and your changelog â will thank you.
Follow along @jeremygeiger for more real-time lessons from the frontlines of solo product building.
If you liked this, check out my upcoming book, Product Built: How Product Managers Became Solo Builders.