Set git SSL information only for gitlab host

Merged Alessio Caiazza requested to merge 2148-fix-ssl-cert into master

What does this MR do?

This MR overrides git SSL config only for the gitlab host

Why was this MR needed?

See #2148 (closed)

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Closes #2148 (closed)