Yes, using shell functions:
git_log() {
git log --pretty=tformat:'%at %ae'
}
Separating function definitions allows you to run, test, and re-use them.