My favorite is just to alias it all to a different name.
alias dg='git --git-dir=/Users/dragonfax/.dotfiles --work-tree=/Users/dragonfax'
My favorite is just to alias it all to a different name.
now regular git doesn't overlap with my dotfiles git, and I never have to worry about mis-executing the wrong git