Revert "Use subproccess instead subshell for git calls"

This reverts commit f479a2095748552fbf4be9e9654a2ca665564510.
Merge branch 'gitlabdotcom' into upgrade_to_4.1

Conflicts:
	lib/gitlab/backend/gitolite_config.rb