I'm learning using Git on an OS X Terminal. It seems really easy. But I can't handle just one problem: When I try to merge two branches, for example "myTestBranch" into "master" this program covers the terminal and shows me a new view where I should write the merge message. And then, I don't know how to do "Enter", save the merge message and then come back to the main terminal view where I can continue working.
Does anyone know, how does it work?

:q<enter>. You either need to learn vi (which is admittedly on the more difficult side) or define$EDITORto be something friendlier, such as nano.$EDITORvariable.nanois very simple to use and helpfully shows you what ctrl-keys you can press to exit, save, etc.core.editorconfiguration option in git config (e.g. see stackoverflow.com/questions/6435246/…)