Handy Git Config setttings
This is my self reference of handy git config settings to apply for whatever computer I’m setting up.
Make git push just push a corresponding branch for new branches, instead of giving me something to copy past to do that git config --global push.autoSetupRemote true
The one place I don’t use this is for open source repos where there’s a fork workflow and I’m a maintainer on GitHub. Here I’m often using the github cli gh pr checkout #pr_id and I’m paranoid about accidentally pushing unintended things to other peoples forks (this is probably fine, but I don’t know for sure)