how to save commit message git code example Example: git bash save commit message Press Esc, type :wq, enter