Adding git functionality to the terminal client.

BUG=
R=koz@chromium.org

Review URL: https://codereview.appspot.com/43660044