Add default git editor and ignore file.