Refactor Gitdeploy::Git class