I have an alias inside my .gitconfig that is a bit too complex and cumbersome to be on a single line.
[alias] foo = !f() { foo="$BASH_VERSION"; echo