I'm quite new in Mac usage. And i have some problems that make me mad. I need to know some useful shortcuts. How to: 1) For example i edit some text file in terminal, how can i exit from editing mode? 2) For example i used command get git log, and i got huge list of commits and when i press ENTER its gave me new line of text list. How can I exit from tis list and start from new command line?