title: Git commit in terminal opens VIM, but can't get back to terminal
body: <p>Trying to learn GitHub at the moment and doing this <a href="https://tutsplus.com/course/git-essentials/">Git essentials tutorial</a> over at nettuts. I'm on the lesson about making commits.</p>
  
  <p>The teacher types <code>git commit</code> and it opens VIM as his editor (I'd also like to know how to make it open up in <a href="http://www.sublimetext.com/">Sublime Text</a> 2 instead) anyways it opens in VIM and I add in 1 line saying this is my first commit and hit save.</p>
  
  <p>Next it then prompts me to save the output to the desktop, something I did not see in his screencast. Now I'm still in VIM and not sure how to get back to 'normal' terminal :(</p>
  
  <p>I couldn't figure it out so I just exited the terminal and relaunched it, did git commit again and had some warning messages about duplicates! Not sure if I need to <code>(E)edit</code> anyways or <code>(A)abort</code>.</p>
  
  <p><strong>git status</strong></p>
  
  <p><img src="https://i.stack.imgur.com/OoMYb.png" alt="enter image description here"></p>
  
  <p><strong>vim</strong></p>
  
  <p><img src="https://i.stack.imgur.com/d4bbf.png" alt="enter image description here"></p>
  
  <p><strong>message</strong> when I reopen terminal and do git commit again</p>
  
  <p><img src="https://i.stack.imgur.com/wIZ30.png" alt="enter image description here"></p>