inner sudos were unncessary and cause problems

additionally git ssl env flags are no longer needed