Back to Software Engineering projects

Hatpick
Every repo wears the right hat
- Role
- Designer and developer
- Tools
- C#, .NET 10, Avalonia, Git
- Company
- Personal project
- Year
- 2026
If you have a work and a personal GitHub account, it’s easy to commit under the wrong name or push with the wrong login. Hatpick treats each account as a hat and makes sure every repository wears the right one, both for the name on your commits and for the account you push with. The name is a nod to a hat trick.
It only reads and writes two kinds of plain git settings: who commits are authored by, and which Git Credential Manager sign-in is used to push. It never asks for a password or token and never runs the git command that would return one.
The Overview page lists your hats, a Needs attention list with one click fixes, and every repo as a card. The Repos page explains why a repo wears what it wears, with a table of where each setting comes from. Watched folders give new repos a default hat, and Reset undoes everything Hatpick changed. It can also rewrite the author of commits that went out under the wrong name.
Version 3.2 runs on Windows, macOS and Linux as a single file with nothing to install, and --demo mode runs on made up accounts so you can try it safely.




