Moved git commands to Git module, specify Deployment instance on Merge.new, commands can fail.
Merge#deployment can be nil.