gum is short for Git User Manager. It can help you to switch git user account conveniently when working on several git repositories, for example, your job and side projects.
go install github.com/chenlujjj/gum@latest
List all git user accounts.
$ gum list
name: chenlujjj, email: 123456789@qq.com
name: chenluxin, email: 987654321@qq.com
Add a git user account.
$ gum add clx clx@sina.com
Delete a git user account.
$ gum delete clx
Set a user to current git repository local config.
$ gum set chelujjj