open git config in editor code example Example 1: list config git git config --list Example 2: configure editor for git $ git config --global core.editor emacs