Add MIT license
[git] Add support for running a git binary
[git] Small cleanups