Fix noisy console output during git deployments

Shell is still being used by `getCurrentBranch` but as far as i can tell that function is only being referenced in tests. I would like to move this function out but would rather do that as a separate PR