프로젝트 폴더에서

git config --global commit.template ./.gitmessage.txt

설정 후 git commit 시에 아래와 같이 vim 편집기가 실행됨.