Update gitpython to 3.1.37 to fix vulnerability
Update `gitpython` to 3.1.37 to fix vulnerability.

This should fix 10 dependabot alerts.

Supersede and close #1958.
Supersede and close #1959.
Update gitpython to 3.1.37 to fix vulnerability: Update `gitpython` to 3.1.37 to fix vulnerability.

This should fix 10 dependabot alerts.

Supersede and close #1958.
Supersede and close #1959.